summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-29 02:31:59 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-29 02:31:59 +0000
commita8252d8ff712a9776e556e4cbed8e2a783404c9c (patch)
tree6aa7815582a3cc50aec47a5502bb535573b9192c /test
parent0633d640b5269eaf16efd746c04f7ab1a5a18828 (diff)
make error output a little more helpful
Diffstat (limited to 'test')
-rw-r--r--test/Test.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Test.mak b/test/Test.mak
index 9123d288f..f3c61479b 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -66,8 +66,9 @@ define exec_test
test -z "$$expected_ret" && export expected_ret=0 ; \
if ! test $$ret -eq $$expected_ret ; then \
$(RM) $@ ; \
+ echo "ret == $$ret ; expected_ret == $$expected_ret" ; \
cat "$@.out" ; \
- exec false ; \
+ exit 1 ; \
fi
$(SCAT) "$@.out"
endef