From 0e1caa502d87d21b4667045d90be00f59a428276 Mon Sep 17 00:00:00 2001
From: Jay Berkenbilt <ejb@ql.org>
Date: Sun, 24 Jun 2012 19:02:15 -0400
Subject: [PATCH] Cosmetic fix to Makefile for showing test output

---
 Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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)