CI: Do not run unstable tests on macOS 10.14 hosts

This commit is contained in:
Dennis Klein
2020-11-12 20:56:31 +01:00
committed by Dennis Klein
parent f9219dab65
commit c51e88e114
2 changed files with 10 additions and 0 deletions

View File

@@ -57,8 +57,13 @@ Ctest_Configure(BUILD "${CTEST_BINARY_DIRECTORY}"
Ctest_Build(BUILD "${CTEST_BINARY_DIRECTORY}")
unset(exclude_tests)
if($ENV{EXCLUDE_UNSTABLE_DDS_TESTS})
set(exclude_tests EXCLUDE ".*\\.localhost$")
endif()
Ctest_Test(BUILD "${CTEST_BINARY_DIRECTORY}"
# PARALLEL_LEVEL $ENV{number_of_processors}
${exclude_tests}
PARALLEL_LEVEL $ENV{number_of_processors}
RETURN_VALUE _ctest_test_ret_val
)