mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
CI: Do not run unstable tests on macOS 10.14 hosts
This commit is contained in:
parent
f9219dab65
commit
c51e88e114
|
@ -57,8 +57,13 @@ Ctest_Configure(BUILD "${CTEST_BINARY_DIRECTORY}"
|
||||||
|
|
||||||
Ctest_Build(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}"
|
Ctest_Test(BUILD "${CTEST_BINARY_DIRECTORY}"
|
||||||
# PARALLEL_LEVEL $ENV{number_of_processors}
|
# PARALLEL_LEVEL $ENV{number_of_processors}
|
||||||
|
${exclude_tests}
|
||||||
PARALLEL_LEVEL $ENV{number_of_processors}
|
PARALLEL_LEVEL $ENV{number_of_processors}
|
||||||
RETURN_VALUE _ctest_test_ret_val
|
RETURN_VALUE _ctest_test_ret_val
|
||||||
)
|
)
|
||||||
|
|
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -46,6 +46,11 @@ def jobMatrix(String prefix, List specs, Closure callback) {
|
||||||
echo "export GIT_BRANCH=$JOB_BASE_NAME" >> Dart.cfg
|
echo "export GIT_BRANCH=$JOB_BASE_NAME" >> Dart.cfg
|
||||||
echo "echo \\\$PATH" >> 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'
|
sh 'cat Dart.cfg'
|
||||||
|
|
||||||
callback.call(spec, label)
|
callback.call(spec, label)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user