Commit db9ffdc3 authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[!38] Fix problem in duneci-standard-test

Merge branch 'bugfix/syntax-error-in-duneci-standard-test' into 'master'

ref:docker/ci Also, export the install result so that dune-ctest can export it
into JUnit.

See merge request [!38]

parents 2c92d226 f4b007ff
......@@ -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
export DUNECI_INSTALL_RESULT=${install_result}
${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
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