]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Only test import by script
authorfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 8 Oct 2019 09:44:40 +0000 (11:44 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 8 Oct 2019 09:44:40 +0000 (11:44 +0200)
Makefile

index 1cfa127ed7e7cc78f9e83d9546bc8ec99b2e2f2a..f4eeb0fcf515ad8bb8d85f8e3b16573a8cf62754 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,10 +20,11 @@ util_src := $(wildcard src/util/*.c)
 emit_src := $(wildcard src/emit/*.c)
 opt_src := $(wildcard opt/*.c)
 
-test_dir := $(filter-out tests/benchmark, $(wildcard tests/*))
-test_dir := $(filter-out tests/import, $(wildcard tests/*))
+test_dir_all := $(wildcard tests/*)
+test_ignore = tests/benchmark tests/import
+test_dir := $(filter-out $(test_ignore), $(test_dir_all))
 test_dir += examples
-# add boolean
+
 ifeq (${DEBUG_STACK}, 1)
 CFLAGS += -DDEBUG_STACK
 endif