Commit f4b007ff authored by Steffen Müthing's avatar Steffen Müthing

Fix problem in duneci-standard-test

Also, export the install result so that dune-ctest can export it into JUnit.
parent 23aa22a1
......@@ -95,11 +95,12 @@ ${DUNECONTROL} --current "${@}" make -k ${parallel_opts} all
if [[ "${DUNECI_TEST_INSTALL:-0}" != 0 ]] ; then
${DUNECONTROL} --current "${@}" make -k ${parallel_opts} install
install_result=$?
export DUNECI_INSTALL_RESULT=${install_result}
fi
${DUNECONTROL} --current "${@}" make -k ${parallel_opts} "${build_test_targets[@]}"
# note the extra quoting for select_test_args to protect it from dunecontrol evaling it
if ${DUNECONTROL} --current "${@}" bexec ${DUNE_CTEST} ${parallel_opts} ${select_test_args[@]:+"${select_test_args[@]@Q}"} ; then
if [[ -n ${install_result} && ${install_result} -ne 0 ]] ; then
if [[ -v install_result && ${install_result} -ne 0 ]] ; then
echo "Error: The installation test failed"
exit 1
else
......
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