test: Make symbol-test depend on libnotmuch.so
authorAustin Clements <amdragon@MIT.EDU>
Tue, 13 Aug 2013 19:52:17 +0000 (15:52 -0400)
committerDavid Bremner <bremner@debian.org>
Thu, 15 Aug 2013 09:35:30 +0000 (11:35 +0200)
Without this
$ make -j test
intermittently fails and
$ make clean; make test/symbol-test
always fails (not that anybody would do the latter).

test/Makefile.local

index 2ec659560626e1a16e224d85e1b58cb318033fe9..8870ca374848add291a0ad969d038baab5448794 100644 (file)
@@ -27,7 +27,7 @@ $(dir)/random-corpus: $(random_corpus_deps)
 $(dir)/smtp-dummy: $(smtp_dummy_modules)
        $(call quiet,CC) $^ -o $@
 
-$(dir)/symbol-test: $(dir)/symbol-test.o
+$(dir)/symbol-test: $(dir)/symbol-test.o lib/$(LINKER_NAME)
        $(call quiet,CXX) $^ -o $@ -Llib -lnotmuch $(XAPIAN_LDFLAGS)
 
 $(dir)/parse-time: $(dir)/parse-time.o parse-time-string/parse-time-string.o