Browse Source

make error output a little more helpful

Mike Frysinger 17 years ago
parent
commit
a8252d8ff7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test/Test.mak

+ 2 - 1
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