test: Simplify CLEAN list construction

Construct as much of the CLEAN list from TEST_BINARIES as possible,
rather than duplicating this information by hand.
This commit is contained in:
Austin Clements 2014-02-25 14:18:59 -05:00 committed by David Bremner
parent 6960b92bb6
commit c0cc47506f

View file

@ -50,11 +50,6 @@ test: all test-binaries
check: test check: test
SRCS := $(SRCS) $(smtp_dummy_srcs) SRCS := $(SRCS) $(smtp_dummy_srcs)
CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \ CLEAN += $(TEST_BINARIES) $(addsuffix .o,$(TEST_BINARIES)) \
$(dir)/symbol-test $(dir)/symbol-test.o \
$(dir)/arg-test $(dir)/arg-test.o \
$(dir)/hex-xcode $(dir)/hex-xcode.o \
$(dir)/database-test.o \ $(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.* $(dir)/corpus.mail $(dir)/test-results $(dir)/tmp.*