aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index e53dfd83..504e4c53 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,4 +1,9 @@
+include ../Makefile.config
+
DIRS=c compression raytracer spass regression
+ifeq ($(CLIGHTGEN),true)
+DIRS+=clightgen
+endif
all:
set -e; for i in $(DIRS); do $(MAKE) CCOMPOPTS='$(CCOMPOPTS)' -C $$i all; done
@@ -6,6 +11,9 @@ all:
test:
set -e; for i in $(DIRS); do $(MAKE) SIMU='$(SIMU)' -C $$i test; done
+parallel:
+ parallel $(MAKE) SIMU='$(SIMU)' -C {} test ::: $(DIRS)
+
bench:
for i in $(DIRS); do $(MAKE) -C $$i bench; done