Skip to content
Snippets Groups Projects
Verified Commit d5b3c3c9 authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Added ci variable CTEST_TIMEOUT.

parent b2620d08
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ variables:
BUILD_TESTS: "true"
BUILD_CTEST: "true"
CTEST_ARGS: "" # If not empty supply arguments to select tests
CTEST_TIMEOUT: "" # in minutes
CPU_TARGET: ivybridge # envinf1 has oldest cpu
ARTIFACTS_PAGES_URL: https://$CI_PROJECT_ROOT_NAMESPACE.$CI_PAGES_DOMAIN/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts
PIPELINE_NAME: "Default pipeline name"
......
......@@ -40,9 +40,6 @@
ctest_timeout=90
preset_postfix="-large"
fi
if [ "$CTEST_PARALLEL_LEVEL" = 1 ]; then
ctest_timeout=480
fi
xvfb_run_cmd=""
if [[ "$OSTYPE" == "darwin"* ]]; then
......@@ -59,6 +56,10 @@
ctest_arguments="--preset=${CMAKE_PRESET}${preset_postfix}"
fi
if [[ ! -z "$CTEST_TIMEOUT" ]]; then
ctest_timeout="$CTEST_TIMEOUT"
fi
ctest_group="Experimental"
if [ "${CI_COMMIT_BRANCH}" = "master" ]; then
ctest_group="master"
......
......@@ -85,6 +85,7 @@ build linux debug with sanitizers:
-DOGS_USE_PIP=ON
UBSAN_OPTIONS: "print_stacktrace=1"
LSAN_OPTIONS: "suppressions=$CI_PROJECT_DIR/scripts/test/leak_sanitizer.suppressions"
CTEST_TIMEOUT: 120
build linux ubuntu perf:
extends:
......@@ -96,3 +97,4 @@ build linux ubuntu perf:
variables:
CMAKE_PRESET: release-all
CTEST_PARALLEL_LEVEL: 1 # Run ctests serially
CTEST_TIMEOUT: 480
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment