aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.local
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2016-04-08 22:54:46 -0300
committerDavid Bremner <david@tethera.net>2016-04-15 07:07:23 -0300
commitf68e776617175fe77cbd7b29ce0fb2a1011117a8 (patch)
treecd1e756c6400d680e208c879d2922221e9af4e6f /test/Makefile.local
parent54aeab1962d77455a65d0d4338beaabbb936310f (diff)
test: add test-binary to print the number of ghost messages
This one-liner seems preferable to the complications of depending on delve, getting the binary name right and parsing the output.
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 30d420e5..022f2cf7 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -38,6 +38,9 @@ $(dir)/parse-time: $(dir)/parse-time.o parse-time-string/parse-time-string.o
$(dir)/make-db-version: $(dir)/make-db-version.o
$(call quiet,CXX) $^ -o $@ $(LDFLAGS) $(XAPIAN_LDFLAGS)
+$(dir)/ghost-report: $(dir)/ghost-report.o
+ $(call quiet,CXX) $^ -o $@ $(LDFLAGS) $(XAPIAN_LDFLAGS)
+
.PHONY: test check
test_main_srcs=$(dir)/arg-test.c \
@@ -47,6 +50,7 @@ test_main_srcs=$(dir)/arg-test.c \
$(dir)/smtp-dummy.c \
$(dir)/symbol-test.cc \
$(dir)/make-db-version.cc \
+ $(dir)/ghost-report.cc
test_srcs=$(test_main_srcs) $(dir)/database-test.c