summaryrefslogtreecommitdiff
path: root/test/Test.mak
diff options
context:
space:
mode:
Diffstat (limited to 'test/Test.mak')
-rw-r--r--test/Test.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Test.mak b/test/Test.mak
index 43562f2d7..dd3fcc387 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -74,6 +74,8 @@ define exec_test
test -z "$$expected_ret" && export expected_ret=0 ; \
if ! test $$ret -eq $$expected_ret ; then \
echo "ret == $$ret ; expected_ret == $$expected_ret" ; \
+ echo "The output of failed test is:"; \
+ cat "$(binary_name).out"; \
exit 1 ; \
fi
$(SCAT) "$(binary_name).out"