diff options
author | David Bremner <bremner@debian.org> | 2011-12-07 14:37:13 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-08 20:24:24 -0400 |
commit | 5800a44bd5b77390d2243426f0c82de4d0495a1c (patch) | |
tree | f20c58811ce59533a1cf05697fb21febdee66e1e /test/Makefile.local | |
parent | 2cf7b27a0c4b4e746e2e40752c55ddb4d54798b2 (diff) |
test: tests for command-line-arguments.c
This was needed because no current notmuch code exercises the
NOTMUCH_OPT_STRING style arguments.
Diffstat (limited to 'test/Makefile.local')
-rw-r--r-- | test/Makefile.local | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/Makefile.local b/test/Makefile.local index bffbbdbd..6cb6c829 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -2,12 +2,17 @@ dir := test +extra_cflags += -I. + smtp_dummy_srcs = \ $(notmuch_compat_srcs) \ $(dir)/smtp-dummy.c smtp_dummy_modules = $(smtp_dummy_srcs:.c=.o) +$(dir)/arg-test: $(dir)/arg-test.o command-line-arguments.o util/libutil.a + $(call quiet,CC) -I. $^ -o $@ + $(dir)/smtp-dummy: $(smtp_dummy_modules) $(call quiet,CC) $^ -o $@ @@ -16,11 +21,13 @@ $(dir)/symbol-test: $(dir)/symbol-test.o .PHONY: test check -test-binaries: $(dir)/smtp-dummy $(dir)/symbol-test +test-binaries: $(dir)/arg-test $(dir)/smtp-dummy $(dir)/symbol-test test: all test-binaries @${dir}/notmuch-test $(OPTIONS) check: test -CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o $(dir)/symbol-test $(dir)/symbol-test.o +CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \ + $(dir)/symbol-test $(dir)/symbol-test.o \ + $(dir)/arg-test $(dir)/arg-test.o |