aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-02-19 12:14:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-02-19 12:14:46 +0800
commit74a58886f61378f2e7eded88c33759af28a5d4f8 (patch)
treefc4fdbc3b77ed84455119cba3a4e5148b7c860c6
parent363fba5b54b5519e191a9cdfd84146eeed014bdf (diff)
downloadgsoc2013-evolution-74a58886f61378f2e7eded88c33759af28a5d4f8.tar.gz
gsoc2013-evolution-74a58886f61378f2e7eded88c33759af28a5d4f8.tar.zst
gsoc2013-evolution-74a58886f61378f2e7eded88c33759af28a5d4f8.zip
Use a relative path to the mbox provider module.
2000-02-18 NotZed <NotZed@HelixCode.com> * tests/test11.c (main): Use a relative path to the mbox provider module. svn path=/trunk/; revision=1857
-rw-r--r--ChangeLog5
-rw-r--r--tests/Makefile.am5
-rw-r--r--tests/test11.c4
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2087e27c48..9da41f5108 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-18 NotZed <NotZed@HelixCode.com>
+
+ * tests/test11.c (main): Use a relative path to the mbox provider
+ module.
+
2000-02-18 Dan Winship <danw@helixcode.com>
* camel/camel-types.h: New header with the typedefs for all camel
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 74b784babd..ec7edb8409 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -19,6 +19,11 @@ LDADD = \
# $(GNOME_LIBDIR) \
# $(GNOMEUI_LIBS) $(INTLLIBS) $(PTHREAD_LIB)
+#test11_LDADD = \
+# $(LDADD) \
+# $(top_builddir)/filter/libfilter.la \
+# $(top_builddir)/libibex/libibex.la
+
test9_LDADD = \
$(top_builddir)/camel/libcamel.la \
$(top_builddir)/libibex/libibex.la \
diff --git a/tests/test11.c b/tests/test11.c
index cb9ff06f01..3c5fdeb9f4 100644
--- a/tests/test11.c
+++ b/tests/test11.c
@@ -38,7 +38,7 @@ main (int argc, char**argv)
gtk_init (&argc, &argv);
camel_init ();
ex = camel_exception_new ();
- camel_provider_register_as_module ("./libcamelmbox.so.0");
+ camel_provider_register_as_module ("../camel/providers/mbox/.libs/libcamelmbox.so.0");
session = camel_session_new ();
store = camel_session_get_store (session, store_url);
@@ -64,7 +64,7 @@ main (int argc, char**argv)
printf("Search for messages\n");
- matches = camel_folder_search_by_expression (folder, "(match-all (and (header-contains \"subject\" \"terminal\") (header-contains \"subject\" \"patch\")))", ex);
+ matches = camel_folder_search_by_expression (folder, "(or (match-all (header-contains \"subject\" \"term\")) (match-all (header-contains \"subject\" \"gnome\")))", ex);
if (matches) {
GList *n;