]> git.notmuchmail.org Git - notmuch/blobdiff - test/Makefile.local
test: add test for hiding/showing signature in notmuch-show view
[notmuch] / test / Makefile.local
index 1cb2402761a46acbd35557a78888b89c995f13bf..8eb0433098b20958e42d6831e5bcc4e3e6e5af6d 100644 (file)
@@ -2,6 +2,19 @@
 
 dir := test
 
-.PHONY: test
-test:  all
+smtp_dummy_srcs =              \
+       $(notmuch_compat_srcs)  \
+       $(dir)/smtp-dummy.c
+
+smtp_dummy_modules = $(smtp_dummy_srcs:.c=.o)
+
+$(dir)/smtp-dummy: $(smtp_dummy_modules)
+       $(call quiet,CC) $^ -o $@
+
+.PHONY: test check
+test:  all $(dir)/smtp-dummy
        @${dir}/notmuch-test $(OPTIONS)
+
+check: test
+
+CLEAN := $(CLEAN) $(dir)/smtp-dummy