+1 for me.
Best,
Regards
Daisy (运国莲)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol(a)cn.ibm.com
TEL: (86)-21-60922403
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203
libvirt-cim-bounces(a)redhat.com wrote on 2008-08-19 04:18:32:
# 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):
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim