]> git.notmuchmail.org Git - notmuch/blobdiff - test/Makefile.local
test: Clear the "BROKEN" flag on an existing emacs test
[notmuch] / test / Makefile.local
index a95484417761eefb93c78d63c2912007729722cb..cf7abc74a400e3b931af7eee43b09fc13b63a57c 100644 (file)
@@ -2,6 +2,11 @@
 
 dir := test
 
+$(dir)/smtp-dummy: $(dir)/smtp-dummy.c
+       $(call quiet,CC) $^ -o $@
+
 .PHONY: test
-test:  all
-       @${dir}/notmuch-test
+test:  all $(dir)/smtp-dummy
+       @${dir}/notmuch-test $(OPTIONS)
+
+CLEAN := $(CLEAN) $(dir)/smtp-dummy