Fix the execution of tests
This commit is contained in:
parent
261186169a
commit
b49f74f58b
4
Makefile
4
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)
|
||||
|
|
2
rules.mk
2
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
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue