aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.local
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2018-08-30 08:29:14 -0300
committerDavid Bremner <david@tethera.net>2018-09-06 08:07:13 -0300
commitb31e44c678bf3bfe81bcc5f159e627551f12700f (patch)
tree1339a62a28fe461033ea5e1ad00f11e794f6754c /test/Makefile.local
parentb8e6f042c57739cc2b183395a3f9dfd64a6eb3d2 (diff)
lib: add _notmuch_message_id_parse_strict
The idea is that if a message-id parses with this function, the MUA generating it was probably sane, and in particular it's probably safe to use the result as a parent from In-Reply-to.
Diffstat (limited to 'test/Makefile.local')
-rw-r--r--test/Makefile.local6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Makefile.local b/test/Makefile.local
index 1a0ab813..1cf09778 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -15,6 +15,9 @@ smtp_dummy_modules = $(smtp_dummy_srcs:.c=.o)
$(dir)/arg-test: $(dir)/arg-test.o command-line-arguments.o util/libnotmuch_util.a
$(call quiet,CC) $^ -o $@ $(LDFLAGS)
+$(dir)/message-id-parse: $(dir)/message-id-parse.o lib/libnotmuch.a util/libnotmuch_util.a
+ $(call quiet,CC) $^ -o $@ $(LDFLAGS) $(TALLOC_LDFLAGS)
+
$(dir)/hex-xcode: $(dir)/hex-xcode.o command-line-arguments.o util/libnotmuch_util.a
$(call quiet,CC) $^ -o $@ $(LDFLAGS) $(TALLOC_LDFLAGS)
@@ -50,7 +53,8 @@ test_main_srcs=$(dir)/arg-test.c \
$(dir)/smtp-dummy.c \
$(dir)/symbol-test.cc \
$(dir)/make-db-version.cc \
- $(dir)/ghost-report.cc
+ $(dir)/ghost-report.cc \
+ $(dir)/message-id-parse.c
test_srcs=$(test_main_srcs) $(dir)/database-test.c