Repair the test target
Add .build target to MIQ_BUILD_TEST explicitly, to avoid one extra step that introduces a circular dependency which breaks the test build.
This commit is contained in:
parent
e2df1851de
commit
86fd196813
4
rules.mk
4
rules.mk
|
@ -113,7 +113,9 @@ MIQ_OUTPRODS= $(MIQ_OUTEXE) $(MIQ_OUTLIB) $(MIQ_OUTDLL)
|
||||||
MIQ_BUILDTEST= $(MAKE) SOURCES=$(@:%.test=%) \
|
MIQ_BUILDTEST= $(MAKE) SOURCES=$(@:%.test=%) \
|
||||||
PRODUCTS=$*_test.exe \
|
PRODUCTS=$*_test.exe \
|
||||||
RUN_TESTS= \
|
RUN_TESTS= \
|
||||||
LINK_LIBS="$(MIQ_PRODLIBS)"
|
LINK_LIBS="$(MIQ_PRODLIBS)" \
|
||||||
|
.build
|
||||||
|
|
||||||
MIQ_RUNTEST= $(TEST_ENV) \
|
MIQ_RUNTEST= $(TEST_ENV) \
|
||||||
$(TEST_CMD_$*) \
|
$(TEST_CMD_$*) \
|
||||||
$(OUTPUT)$(EXE_PFX)$*_test$(EXE_EXT) \
|
$(OUTPUT)$(EXE_PFX)$*_test$(EXE_EXT) \
|
||||||
|
|
Loading…
Reference in New Issue