Commit 6db2cc44 authored by Steffen Müthing's avatar Steffen Müthing

Optionally test module installtion in duneci-standard-test

This patch introduces a new shell variable DUNECI_TEST_INSTALL. If this variable is set in
`.gitlab-ci.yml`, the script will try to run `make install` before building and running the unit
tests.
parent 0fb4df57
......@@ -35,5 +35,9 @@ export OMPI_MCA_mpi_yield_when_idle=1
set -x
${DUNECONTROL} --current "${@}" vcsetup
${DUNECONTROL} --current "${@}" configure
${DUNECONTROL} --current "${@}" make ${parallel_opts} all build_tests
${DUNECONTROL} --current "${@}" make ${parallel_opts} all
if [[ -v DUNECI_TEST_INSTALL ]] ; then
${DUNECONTROL} --current "${@}" make ${parallel_opts} install
fi
${DUNECONTROL} --current "${@}" make ${parallel_opts} build_tests
${DUNECONTROL} --current "${@}" bexec ${DUNE_CTEST} ${parallel_opts}
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