Commit a0d11462 authored by Dominik Charousset's avatar Dominik Charousset

Disable OpenSSL module tests when runing with LSAN

parent 35e60d41
......@@ -4,6 +4,7 @@ WorkingDir="$PWD"
UsageString="
$0 build CMAKE_INIT_FILE SOURCE_DIR BUILD_DIR
OR $0 test BUILD_DIR
OR $0 test BUILD_DIR EXCLUDES
OR $0 assert WHAT
"
......@@ -43,12 +44,21 @@ elif [ $# = 2 ]; then
if [ "$1" = 'test' ] && [ -d "$2" ]; then
Mode='test'
BuildDir=`makeAbsolute $2`
Excludes=""
elif [ "$1" = 'assert' ]; then
Mode='assert'
What="$2"
else
usage
fi
elif [ $# = 3 ]; then
if [ "$1" = 'test' ] && [ -d "$2" ]; then
Mode='test'
BuildDir=`makeAbsolute $2`
Excludes="$3"
else
usage
fi
else
usage
fi
......@@ -80,9 +90,11 @@ runBuild() {
}
runTest() {
cd "$BuildDir"
$CTestCommand --output-on-failure
cd "$WorkingDir"
if [ -z "$Excludes" ]; then
$CTestCommand --test-dir "$BuildDir" --output-on-failure
else
$CTestCommand --test-dir "$BuildDir" --output-on-failure -E "$Excludes"
fi
}
runLeakSanitizerCheck() {
......
......@@ -10,7 +10,8 @@ debug_build_template: &DEBUG_BUILD_TEMPLATE
asan_build_template: &ASAN_BUILD_TEMPLATE
build_script: .ci/run.sh build .ci/asan-flags.cmake . build
test_script: .ci/run.sh test build
# see GH issue #1396
test_script: .ci/run.sh test build openssl
# CentOS 7 EOL: June 2024
centos7_task:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment