Output test legends.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 22 Feb 2012 20:32:25 +0000 (15:32 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 22 Feb 2012 20:32:25 +0000 (15:32 -0500)
test/Makefile

index d77b4e070c3767cda39753381ceddf76848201af..d894a02f2ddd7726021311a75a8ac9f4bb582c19 100644 (file)
@@ -22,7 +22,7 @@ regress:
        do \
            if [ ! -f $${test}.tst ] ; \
            then \
        do \
            if [ ! -f $${test}.tst ] ; \
            then \
-               (if echo "Testing $${test}" >&2; \
+               (if echo -n "$${test}: " >&2; grep 'Test' $${test}.log >&2;\
                ../sst.py -r $${test}.log >/tmp/regress 2>&1; \
                then diff -u $${test}.chk /tmp/regress; \
                else echo "*** Nonzero return status on $${test}!"; exit 1; fi;) \
                ../sst.py -r $${test}.log >/tmp/regress 2>&1; \
                then diff -u $${test}.chk /tmp/regress; \
                else echo "*** Nonzero return status on $${test}!"; exit 1; fi;) \