Runner will now output failure filenames

This is temporary until a proper reporter can be created
master
Mike Gerwitz 2014-06-13 21:18:57 -04:00
parent 00856b0af4
commit 4572d0f636
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 8 additions and 1 deletions

View File

@ -19,8 +19,15 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
##
declare -i fail=0
# each test is run in a separate process to ensure environment isolation
for tcase in "$@"; do
env -i ./run-spec "$tcase"
env -i ./run-spec "$tcase" || {
echo "failed: $tcase" >&2
fail=1
}
done
test $fail -eq 0