Run high level tests with the correct configuration.

This commit is contained in:
Sönke Ludwig 2020-05-25 11:37:33 +02:00
parent 4f57a98130
commit 5333e4a191

View file

@ -20,8 +20,7 @@ dub test --compiler=$DC -c $CONFIG $DUB_FLAGS
if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then
for ex in $(\ls -1 examples/); do for ex in $(\ls -1 examples/); do
echo "[INFO] Building example $ex" echo "[INFO] Building example $ex"
# --override-config vibe-core/$CONFIG (cd examples/$ex && dub build --compiler=$DC --override-config vibe-core/$CONFIG && dub clean)
(cd examples/$ex && dub build --compiler=$DC && dub clean)
done done
fi fi
if [ ${RUN_TEST=1} -eq 1 ]; then if [ ${RUN_TEST=1} -eq 1 ]; then
@ -32,7 +31,7 @@ if [ ${RUN_TEST=1} -eq 1 ]; then
(cd tests && "./${script:6}") (cd tests && "./${script:6}")
else else
echo "[INFO] Running test $ex" echo "[INFO] Running test $ex"
dub --temp-build --compiler=$DC --single $ex # --override-config vibe-core/$CONFIG dub --temp-build --compiler=$DC --single $ex --override-config vibe-core/$CONFIG
fi fi
done done
fi fi