From b49f74f58b4953cda595146171d719412cd701dd Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Thu, 17 May 2018 14:30:19 +0200 Subject: [PATCH] Fix the execution of tests --- Makefile | 4 +--- rules.mk | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7ad3451..b1adf32 100644 --- a/Makefile +++ b/Makefile @@ -29,12 +29,10 @@ HDR_INSTALL= \ PREFIX_LIB=$(PREFIX)lib/make-it-quick/config/ LIB_INSTALL=$(wildcard config/check*.c) +TESTS=example/ -# Include the makefile rules with special BUILD path MIQ=./ include $(MIQ)rules.mk -TESTS=example/ - config.local-setup.mk: $(PRINT_GENERATE) echo > $@ CONFIG_SOURCES=$(PREFIX_LIB) diff --git a/rules.mk b/rules.mk index 60a0769..9b1e35e 100644 --- a/rules.mk +++ b/rules.mk @@ -541,7 +541,7 @@ product.test: .product %.c.test %.cpp.test: $(MIQ_OUTPRODS) $(PRINT_TEST) $(MIQ_BUILDTEST) && $(MIQ_RUNTEST) %/.test: - +$(PRINT_TEST) cd $* && $(MAKE) test + +$(PRINT_TEST) cd $* && $(MIQ_RECURSE) RUN_TESTS=yes .build #------------------------------------------------------------------------------