aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/Makefile.local
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@mit.edu>2014-08-25 13:26:01 -0400
committerGravatar David Bremner <david@tethera.net>2014-08-30 10:43:46 -0700
commitd06adc52e03cefe6263aeffa01353ad59d13fb54 (patch)
treec19b129df885664d48af87848953b19e674317aa /test/Makefile.local
parent8363c9053152d349022b821a4a343f0ee2ade318 (diff)
test: Tool to build DB with specific version and features
This will let us test basic version and feature handling.
Diffstat (limited to 'test/Makefile.local')
-rw-r--r--test/Makefile.local4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Makefile.local b/test/Makefile.local
index 916dd0bd..a2d58fc1 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -35,6 +35,9 @@ $(dir)/symbol-test: $(dir)/symbol-test.o lib/$(LINKER_NAME)
$(dir)/parse-time: $(dir)/parse-time.o parse-time-string/parse-time-string.o
$(call quiet,CC) $^ -o $@
+$(dir)/make-db-version: $(dir)/make-db-version.o
+ $(call quiet,CXX) $^ -o $@ $(XAPIAN_LDFLAGS)
+
.PHONY: test check
test_main_srcs=$(dir)/arg-test.c \
@@ -43,6 +46,7 @@ test_main_srcs=$(dir)/arg-test.c \
$(dir)/parse-time.c \
$(dir)/smtp-dummy.c \
$(dir)/symbol-test.cc \
+ $(dir)/make-db-version.cc \
test_srcs=$(test_main_srcs) $(dir)/database-test.c