Commit 95b2d990 authored by Jakub Klinkovský's avatar Jakub Klinkovský

Execute tests in parallel

parent a3ba2469
......@@ -41,6 +41,7 @@ stages:
# - export MAKEFLAGS="-l$(echo 1.5*$NUM_CORES | bc) -j$NUM_CORES"
- export NINJAFLAGS="-j$NUM_CORES"
- export CTEST_OUTPUT_ON_FAILURE=1
- export CTEST_PARALLEL_LEVEL=4
- mkdir -p "./builddir/$CI_JOB_NAME"
- pushd "./builddir/$CI_JOB_NAME"
- cmake ../..
......
......@@ -204,5 +204,5 @@ if [[ ${WITH_DOC} == "yes" ]]; then
fi
if [[ ${WITH_TESTS} == "yes" ]] && [[ ${RUN_TESTS} == "yes" ]]; then
CTEST_OUTPUT_ON_FAILURE=1 $make test
CTEST_PARALLEL_LEVEL=4 CTEST_OUTPUT_ON_FAILURE=1 $make test
fi
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