Fix test script.

This commit is contained in:
Sönke Ludwig 2016-10-24 09:21:11 +02:00
parent 4f706e0ff9
commit 35761dfc9a

View file

@ -19,8 +19,8 @@ if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then
done done
fi fi
if [ ${RUN_TEST=1} -eq 1 ]; then if [ ${RUN_TEST=1} -eq 1 ]; then
for ex in `\ls -1 tests/`; do for ex in `\ls -1 tests/*.d`; do
echo "[INFO] Running test $ex" echo "[INFO] Running test $ex"
(cd tests && dub --compiler=$DC --single $ex && rm -r .dub test) dub --temp-build --compiler=$DC --single $ex
done done
fi fi