]> git.notmuchmail.org Git - notmuch/blobdiff - test/Makefile.local
test: Add test that emacs interface actually sends mail.
[notmuch] / test / Makefile.local
index 1cb2402761a46acbd35557a78888b89c995f13bf..cf7abc74a400e3b931af7eee43b09fc13b63a57c 100644 (file)
@@ -2,6 +2,11 @@
 
 dir := test
 
+$(dir)/smtp-dummy: $(dir)/smtp-dummy.c
+       $(call quiet,CC) $^ -o $@
+
 .PHONY: test
-test:  all
+test:  all $(dir)/smtp-dummy
        @${dir}/notmuch-test $(OPTIONS)
+
+CLEAN := $(CLEAN) $(dir)/smtp-dummy