aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2018-06-01 10:22:31 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2018-06-01 10:23:38 +0200
commitffc03f2dcb24438d2900743848005c9a058e649c (patch)
treecc861e334a4dbd0990038e870d34ff185ecafe7c /test/Makefile
parent27ff8beb35cc4fd1e6a05c6685a7903e9e64ecdf (diff)
downloadcompcert-kvx-ffc03f2dcb24438d2900743848005c9a058e649c.tar.gz
compcert-kvx-ffc03f2dcb24438d2900743848005c9a058e649c.zip
Add tests for clightgen
Also: add "parallel" entry to test/Makefile for parallel execution of tests.
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