1
0
Fork 0
mirror of synced 2024-11-22 16:25:34 -05:00

Make driver display file names of tests

This commit is contained in:
Anish Athalye 2015-05-06 10:02:38 -04:00
parent b1f9251e1f
commit b0d09b7047

View file

@ -88,7 +88,7 @@ fail() {
run_test() { run_test() {
tests_run=$((tests_run + 1)) tests_run=$((tests_run + 1))
printf '[%d/%d]\n' ${tests_run} ${tests_total} printf '[%d/%d] (%s)\n' ${tests_run} ${tests_total} ${1}
rollback || die "unable to rollback vm." # start with a clean slate rollback || die "unable to rollback vm." # start with a clean slate
vagrant ssh -c "cd /dotbot/test/tests && bash ${1}" 2>/dev/null && pass || fail vagrant ssh -c "cd /dotbot/test/tests && bash ${1}" 2>/dev/null && pass || fail
} }