Disable unit_tests on older bootstrap builds

This commit is contained in:
Sebastian Wilzbach 2020-08-30 19:09:35 +02:00
parent 05f724cb4a
commit 7f05a442aa

View file

@ -126,7 +126,12 @@ if [ "$MODEL" == "32" ] ; then
fi
"$HOST_DC" -m$MODEL -g -i run.d
./run --environment --jobs=$N all ARGS="-O -inline -g" MODEL="$MODEL"
targets=("all")
if [ "$HOST_DMD_VERSION" = "2.079.0" ] ; then
# do not run runnable_cxx or unit_tests with older bootstrap compilers
targets=("compilable" "fail_compilation" "runnable" "dshell")
fi
./run --environment --jobs=$N "${targets[@]}" ARGS="-O -inline -g" MODEL="$MODEL"
################################################################################
# Prepare artifacts