diff options
Diffstat (limited to 'trunk/testsuite/Makefile.in')
-rw-r--r-- | trunk/testsuite/Makefile.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/trunk/testsuite/Makefile.in b/trunk/testsuite/Makefile.in index 30eeeb5..395899f 100644 --- a/trunk/testsuite/Makefile.in +++ b/trunk/testsuite/Makefile.in @@ -162,7 +162,9 @@ check-TESTS: $(TESTS) if test -f ./$$tst; then dir=./; \ elif test -f $$tst; then dir=; \ else dir="$(srcdir)/"; fi; \ - if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + $(TESTS_ENVIRONMENT) $${dir}$$tst; \ + ret=$$?; \ + if test $$ret -eq 0; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *" $$tst "*) \ @@ -174,16 +176,16 @@ check-TESTS: $(TESTS) echo "PASS: $$tst"; \ ;; \ esac; \ - elif test $$? -ne 77; then \ + elif test $$ret -ne 77; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *" $$tst "*) \ xfail=`expr $$xfail + 1`; \ - echo "XFAIL: $$tst"; \ + echo "XFAIL: $$tst ($$ret)"; \ ;; \ *) \ failed=`expr $$failed + 1`; \ - echo "FAIL: $$tst"; \ + echo "FAIL: $$tst ($$ret)"; \ ;; \ esac; \ fi; \ |