# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1219090696 25200
# Node ID 4cbb5bea5f3b72a7a716bb9d3c4b6e8d9c3f4596
# Parent 6a75861bbe432d0cc8f143783cb5d00a75101ecb
[TEST] Fix debug output
If the test passes, then there's no need to print debug output. Otherwise, negative
test cases (that run in to intentional failures) might print confusing debug messages.
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 6a75861bbe43 -r 4cbb5bea5f3b lib/TestSuite.py
--- a/lib/TestSuite.py Sun Aug 17 21:34:33 2008 -0700
+++ b/lib/TestSuite.py Mon Aug 18 13:18:16 2008 -0700
@@ -68,7 +68,7 @@
bug = err
self.rep.results("%s - %s" % (group, test), status, bug)
- if output:
+ if output and status != PASS:
self.rep.debug(1, output)
def debug(self, str):