diff --git a/FairMQTest.cmake b/FairMQTest.cmake index 83995101..e1ed0418 100644 --- a/FairMQTest.cmake +++ b/FairMQTest.cmake @@ -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 ) diff --git a/Jenkinsfile b/Jenkinsfile index 64eabbc0..eda77558 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,6 +46,11 @@ def jobMatrix(String prefix, List specs, Closure callback) { echo "export GIT_BRANCH=$JOB_BASE_NAME" >> Dart.cfg echo "echo \\\$PATH" >> Dart.cfg ''' + + if (os =~ /macOS10.14/) { + sh "echo \"export EXCLUDE_UNSTABLE_DDS_TESTS=1\" >> Dart.cfg" + } + sh 'cat Dart.cfg' callback.call(spec, label)