aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.local
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2019-05-04 20:57:43 +0000
committerDavid Bremner <david@tethera.net>2019-05-07 06:53:57 -0300
commit591388ccd1d7c631d1f98694543d1a80fc521d9f (patch)
tree8d0bba6633e5d3ae13ef584a043b596669b7c987 /test/Makefile.local
parent7f7af27bd8320fd7a7e7ab50bf0c206da3775635 (diff)
tests: remove entangling corpus index optimization
The add_email_corpus test utility includes logic that tries to re-use an index of the corpus if available. This was seemingly done as an optimization, so that every test that uses the corpus didn't have to create it's own index of the corpus. However, this has the perverse side effect of entangling tests together, and breaks parallelization. Forcing each test to do it's own index does increase the overall time of the test slightly (~6%), but this will be more than made up for in the next patch that introduces paraellization.
Diffstat (limited to 'test/Makefile.local')
-rw-r--r--test/Makefile.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.local b/test/Makefile.local
index 1cf09778..47244e8f 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -81,4 +81,4 @@ check: test
SRCS := $(SRCS) $(test_srcs)
CLEAN += $(TEST_BINARIES) $(addsuffix .o,$(TEST_BINARIES)) \
$(dir)/database-test.o \
- $(dir)/corpora.mail $(dir)/test-results $(dir)/tmp.*
+ $(dir)/test-results $(dir)/tmp.*