Explorar o código

make error output a little more helpful

Mike Frysinger %!s(int64=17) %!d(string=hai) anos
pai
achega
a8252d8ff7
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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