diff options
Diffstat (limited to 'testsuite/Makefile.in')
-rw-r--r-- | testsuite/Makefile.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in index 53feb82..205f6e3 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in @@ -161,7 +161,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 "*) \ @@ -173,16 +175,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; \ |