Skip to content
Snippets Groups Projects
Commit 95b2d990 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Execute tests in parallel

parent a3ba2469
No related branches found
No related tags found
No related merge requests found
......@@ -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
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