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

[ci] Check for xvfb-run existance and add ctest exclude regex.

parent ec71d265
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@
xvfb_run_cmd=""
if [[ "$OSTYPE" == "darwin"* ]]; then
alias date=gdate
else
elif command -v xvfb-run &> /dev/null ; then
xvfb_run_cmd="xvfb-run -a"
fi
......@@ -49,6 +49,9 @@
if [[ ! -z "$CTEST_INCLUDE_REGEX" ]]; then
regex_argument="-R ${CTEST_INCLUDE_REGEX}"
fi
if [[ ! -z "$CTEST_EXCLUDE_REGEX" ]]; then
regex_argument="${regex_argument} -E ${CTEST_EXCLUDE_REGEX}"
fi
# -M Continuous does not run any tests -> -M Experimental --group Continuous
# --test-dir has to be provided despite using a preset
......
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