From 31e3058e74974a3d9051691a56a949e4cf0a3e33 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 11 Nov 2014 01:38:22 +0100 Subject: [PATCH] Slightly improved the tests log --- tests/tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tests.sh b/tests/tests.sh index b5bc1d8..0695192 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -39,12 +39,13 @@ _test() system="$1" subdir="$2" + echo echo "Testing: $system $subdir" $CONFIGURE -O "$system" -- "$subdir" 2>&1 || return 2 - $DIFF -- "$subdir/Makefile" "$subdir/Makefile.$system" 2>&1 + $DIFF -- "$subdir/Makefile.$system" "$subdir/Makefile" 2>&1 res=$? if [ $res -ne 0 ]; then - echo "Failed with error code $res" + echo "$system $subdir: Failed with error code $res" echo "$system $subdir: FAIL" 1>&2 else echo "$system $subdir: PASS" 1>&2 @@ -86,6 +87,5 @@ fi target="$1" ($DATE -echo _test "Darwin" "library" _test "NetBSD" "library") > "$target"