]> git.notmuchmail.org Git - notmuch/blobdiff - test/Makefile.local
test: add tests for the new boolean folder: and path: prefixes
[notmuch] / test / Makefile.local
index 99324ba1e75b790cdc298337b8b6a51c35649ce0..36b1c1b71de08f598f4b9e314170a3e186c14ec4 100644 (file)
@@ -2,6 +2,8 @@
 
 dir := test
 
+# save against changes in $(dir)
+test_src_dir := $(dir)
 extra_cflags += -I.
 
 smtp_dummy_srcs =              \
@@ -45,7 +47,7 @@ TEST_BINARIES=$(dir)/arg-test \
 test-binaries: $(TEST_BINARIES)
 
 test:  all test-binaries
-       @${dir}/notmuch-test $(OPTIONS)
+       @${test_src_dir}/notmuch-test $(OPTIONS)
 
 check: test