diff --git a/run-ci.sh b/run-ci.sh index 72f20ba..def666b 100755 --- a/run-ci.sh +++ b/run-ci.sh @@ -28,14 +28,8 @@ else fi if [ ${RUN_TEST=1} -eq 1 ]; then - for ex in `\ls -1 tests/*.d`; do - script="${ex%.d}.sh" - if [ -e "$script" ]; then - echo "[INFO] Running test scipt $script" - (cd tests && "./${script:6}") - else - echo "[INFO] Running test $ex" - dub --temp-build --compiler=$DC --single $ex - fi + for ex in `cd tests && ls -1 *.d`; do + echo "[INFO] Running test $ex" + (cd tests && dub --temp-build --compiler=$DC --single $ex) done fi