diff options
author | Jani Nikula <jani@nikula.org> | 2012-10-30 22:32:34 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-10-31 16:44:55 -0300 |
commit | 519be192501bae330db78af728c4d6e26b9053ee (patch) | |
tree | f3c877b091ccd8a914cae3e9e8019e8d00fb3a0e /test/Makefile.local | |
parent | d86522637a7cd0455c127284ebccf3645d681441 (diff) |
test: add new test tool parse-time for date/time parser
Add a smoke testing tool to support testing the date/time parser
module directly and independent of the rest of notmuch.
Credits to Michal Sojka <sojkam1@fel.cvut.cz> for the stdin parsing
idea and consequent massive improvement in testability.
Diffstat (limited to 'test/Makefile.local')
-rw-r--r-- | test/Makefile.local | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile.local b/test/Makefile.local index 45df4c71..9ae130a2 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -19,9 +19,13 @@ $(dir)/smtp-dummy: $(smtp_dummy_modules) $(dir)/symbol-test: $(dir)/symbol-test.o $(call quiet,CXX) $^ -o $@ -Llib -lnotmuch $(XAPIAN_LDFLAGS) +$(dir)/parse-time: $(dir)/parse-time.o parse-time-string/parse-time-string.o + $(call quiet,CC) $^ -o $@ + .PHONY: test check -test-binaries: $(dir)/arg-test $(dir)/smtp-dummy $(dir)/symbol-test +test-binaries: $(dir)/arg-test $(dir)/smtp-dummy $(dir)/symbol-test \ + $(dir)/parse-time test: all test-binaries @${dir}/notmuch-test $(OPTIONS) @@ -32,4 +36,5 @@ SRCS := $(SRCS) $(smtp_dummy_srcs) CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \ $(dir)/symbol-test $(dir)/symbol-test.o \ $(dir)/arg-test $(dir)/arg-test.o \ + $(dir)/parse-time $(dir)/parse-time.o \ $(dir)/corpus.mail $(dir)/test-results $(dir)/tmp.* |