[buildcore] Add test-rerun-verbose target

This commit is contained in:
2021-07-30 19:34:11 -05:00
parent 3e3cfcaf7d
commit 6165f63d09
2 changed files with 15 additions and 7 deletions

View File

@ -26,7 +26,7 @@ SCRIPTS=${BUILDCORE_PATH}/scripts
SETUP_BUILD=${PYTHON3} ${SCRIPTS}/setup-build.py
PYBB=${PYTHON3} ${SCRIPTS}/pybb.py
CMAKE_BUILD=${PYBB} cmake-build
CTEST_ALL=${PYBB} ctest-verbose
CTEST=${PYBB} ctest-all
RM_RF=${PYBB} rm
ifdef USE_VCPKG
ifndef VCPKG_DIR_BASE
@ -72,7 +72,10 @@ test: build
${ENV_RUN} ${CMAKE_BUILD} build test
.PHONY: test-verbose
test-verbose: build
${ENV_RUN} ${CTEST_ALL} build
${ENV_RUN} ${CTEST} build --output-on-failure
.PHONY: test-rerun-verbose
test-rerun-verbose: build
${ENV_RUN} ${CTEST} build --rerun-failed --output-on-failure
.PHONY: devenv-image
devenv-image: