From bcc59bfbb66497e996d2f2c91a3e02c24d241384 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 21 Dec 2022 14:55:12 +0100 Subject: [PATCH] CONFIG_TYPE maybe used on other platforms On MacOS, with the XCode generator, the config type is required. --- Scripts/developer_scripts/run_testsuite_with_ctest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/developer_scripts/run_testsuite_with_ctest b/Scripts/developer_scripts/run_testsuite_with_ctest index 631195ac9b8..69d5adf8d0e 100644 --- a/Scripts/developer_scripts/run_testsuite_with_ctest +++ b/Scripts/developer_scripts/run_testsuite_with_ctest @@ -296,7 +296,7 @@ run_test_on_platform() 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__}" - if uname | grep -q "CYGWIN"; then + if [ -n "$CONFIG_TYPE" ]; then CTEST_OPTS="-C ${CONFIG_TYPE} ${CTEST_OPTS}" fi if [ -z "${SHOW_PROGRESS}" ]; then