* tests: add some test cases for querying. add dummy.cc to enforce C++ linking

This commit is contained in:
Dirk-Jan C. Binnema
2010-01-31 14:14:19 +02:00
parent c4bac8306e
commit 4eb9f8049b
3 changed files with 141 additions and 0 deletions

View File

@ -20,6 +20,7 @@ INCLUDES=$(XAPIAN_CXXFLAGS) \
$(GMIME_CFLAGS) \
$(GLIB_CFLAGS) \
-I ${top_srcdir} \
-DMU_PROGRAM=\"${top_srcdir}/src/mu\" \
-DABS_SRCDIR=\"${abs_srcdir}\"
noinst_PROGRAMS= $(TEST_PROGS)
@ -36,6 +37,11 @@ TEST_PROGS += test-mu-maildir
test_mu_maildir_SOURCES= test-mu-maildir.c
test_mu_maildir_LDADD= ${top_srcdir}/src/libmu.la
TEST_PROGS += test-mu-query
test_mu_query_SOURCES= test-mu-query.c dummy.cc
test_mu_query_LDADD= ${top_srcdir}/src/libmu.la
# note the question marks; make does not like files with ':'
# 11 messages, the '.ignore' message should be ignored
# when indexing