Pārlūkot izejas kodu

make error output a little more helpful

Mike Frysinger 17 gadi atpakaļ
vecāks
revīzija
a8252d8ff7
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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