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:
Christophe de Dinechin 2018-10-27 13:04:50 +02:00 committed by Christophe de Dinechin
parent e2df1851de
commit 86fd196813
1 changed files with 3 additions and 1 deletions

View File

@ -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) \