aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2014-02-25 14:18:59 -0500
committerGravatar David Bremner <david@tethera.net>2014-02-25 20:53:54 -0400
commitc0cc47506fff1d486e0ffff60a58302943a3794e (patch)
treedaa23b9d9f24da8eb9ba7c65b3b1566908b1b130 /test
parent6960b92bb6ccbacd9904e2d12775a7c68b2d8801 (diff)
test: Simplify CLEAN list construction
Construct as much of the CLEAN list from TEST_BINARIES as possible, rather than duplicating this information by hand.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.local7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/Makefile.local b/test/Makefile.local
index 8870ca37..99324ba1 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -50,11 +50,6 @@ test: all test-binaries
check: test
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)/hex-xcode $(dir)/hex-xcode.o \
+CLEAN += $(TEST_BINARIES) $(addsuffix .o,$(TEST_BINARIES)) \
$(dir)/database-test.o \
- $(dir)/random-corpus $(dir)/random-corpus.o \
- $(dir)/parse-time $(dir)/parse-time.o \
$(dir)/corpus.mail $(dir)/test-results $(dir)/tmp.*