From ffc03f2dcb24438d2900743848005c9a058e649c Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Fri, 1 Jun 2018 10:22:31 +0200 Subject: Add tests for clightgen Also: add "parallel" entry to test/Makefile for parallel execution of tests. --- test/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/Makefile') 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 -- cgit