diff --git a/Makefile b/Makefile index 571f3e2e..bcc40c17 100644 --- a/Makefile +++ b/Makefile @@ -127,9 +127,9 @@ $(TEST_TARGETS): if TC_SRCS="$(foreach T,$(TC_SRCS_$(subst check_,,$@)),../../$(T))" \ $(QTEST) -bindirs .:.. -datadir ../qtest -covdir ..; then \ true; \ - elif test "$(SHOW_FAILED_TEST_OUTPUT)" = "1"; then \ - cat -v qtest.log; \ - false; \ else \ + if test "$(SHOW_FAILED_TEST_OUTPUT)" = "1"; then \ + cat -v qtest.log; \ + fi; \ false; \ fi)