X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FMakefile.local;h=8eb0433098b20958e42d6831e5bcc4e3e6e5af6d;hb=ecae541031911b65594c3ec757abb671583e8872;hp=cf7abc74a400e3b931af7eee43b09fc13b63a57c;hpb=102c57c825d22c8f4741332f1e02e08f66f6cd2f;p=notmuch diff --git a/test/Makefile.local b/test/Makefile.local index cf7abc74..8eb04330 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -2,11 +2,19 @@ dir := test -$(dir)/smtp-dummy: $(dir)/smtp-dummy.c +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 +.PHONY: test check test: all $(dir)/smtp-dummy @${dir}/notmuch-test $(OPTIONS) +check: test + CLEAN := $(CLEAN) $(dir)/smtp-dummy