]> rtime.felk.cvut.cz Git - novaboot.git/commitdiff
tests: Do not run the tests two times
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 15 Dec 2014 14:20:05 +0000 (15:20 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 15 Dec 2014 14:20:05 +0000 (15:20 +0100)
tests/Makefile

index 731845b00ae64191404fab1cfcb16a2dfebb3aa0..303d49737ccf87c10c7473c980effb90595b43f9 100644 (file)
@@ -1,4 +1,6 @@
-TESTS = novaboot.wv parser.wv expect.wv $(wildcard *.wv)
+TESTS := novaboot.wv parser.wv expect.wv
+OTHER_TESTS := $(filter-out $(TESTS),$(wildcard *.wv))
+TESTS += $(OTHER_TESTS)
 
 all:
        ./wvtool runall $(TESTS:%=./%)