CONFIG_TYPE maybe used on other platforms

On MacOS, with the XCode generator, the config type is required.
This commit is contained in:
Laurent Rineau 2022-12-21 14:55:12 +01:00
parent 7959549cff
commit bcc59bfbb6
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ run_test_on_platform()
echo "SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 1000000000)" >> CTestCustom.cmake echo "SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 1000000000)" >> CTestCustom.cmake
CTEST_OPTS="-T Start -T Test --timeout 1200 ${DO_NOT_TEST:+-E execution___of__}" CTEST_OPTS="-T Start -T Test --timeout 1200 ${DO_NOT_TEST:+-E execution___of__}"
if uname | grep -q "CYGWIN"; then if [ -n "$CONFIG_TYPE" ]; then
CTEST_OPTS="-C ${CONFIG_TYPE} ${CTEST_OPTS}" CTEST_OPTS="-C ${CONFIG_TYPE} ${CTEST_OPTS}"
fi fi
if [ -z "${SHOW_PROGRESS}" ]; then if [ -z "${SHOW_PROGRESS}" ]; then