Rerun failed tests

This should help stabilize the test set by making sure the test actually
fails twice. This'll still leave the output in the log so that the
problems that only occur on the first run can be eventually fixed.
This commit is contained in:
Markus Mäkelä
2020-07-10 09:32:13 +03:00
parent af227cd8c5
commit c85638052e
2 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,7 @@ else
eval "arguments=(${test_set})"
ctest -N "${arguments[@]}"
ctest -VV "${arguments[@]}"
ctest --rerun-failed -VV
fi
cp core.* ${logs_publish_dir}
${script_dir}/copy_logs.sh

View File

@ -80,6 +80,7 @@ fi
ulimit -c unlimited
ctest $test_set -VV
ctest --rerun-failed -VV
cp core.* ${logs_publish_dir}
${script_dir}/copy_logs.sh