[Libvirt-cim] [PATCH] [TEST] Add distro to report subject

Guo Lian Yun yunguol at cn.ibm.com
Wed Dec 24 02:53:36 UTC 2008


+1 from me.
What about adding src info to report subject such as rpm or current source 
also?
Thanks!

Best,
Regards

Daisy (运国莲)
VSM Team, China Systems & Technology Labs (CSTL)
E-mail: yunguol at cn.ibm.com
TEL: (86)-21-60922403
Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203




Kaitlin Rupert <kaitlin at linux.vnet.ibm.com> 
Sent by: libvirt-cim-bounces at redhat.com
2008-12-24 04:19
Please respond to
List for discussion and development of libvirt CIM 
<libvirt-cim at redhat.com>


To
libvirt-cim at redhat.com
cc

Subject
[Libvirt-cim] [PATCH] [TEST] Add distro to report subject






# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1230063570 28800
# Node ID 6c6eaaebaf9c5478d86157d61995ecea979362cc
# Parent  c441f4b31da66c462a6aaa8c48381e2b4893dcc1
[TEST] Add distro to report subject

Also modified the subject a little

Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>

diff -r c441f4b31da6 -r 6c6eaaebaf9c 
suites/libvirt-cim/lib/XenKvmLib/reporting.py
--- a/suites/libvirt-cim/lib/XenKvmLib/reporting.py              Mon Dec 
22 13:32:31 2008 -0800
+++ b/suites/libvirt-cim/lib/XenKvmLib/reporting.py              Tue Dec 
23 12:19:30 2008 -0800
@@ -94,7 +94,7 @@
     cimtest_ver = "Cimtest revision: %s\nCimtest changeset: %s\n" % \
                   (cimtest_revision, cimtest_changeset)
 
-    return env + lc_ver + cimtest_ver
+    return env + lc_ver + cimtest_ver, distro
 
 def parse_run_output(log_file):
     rvals = { 'PASS' : 0,
@@ -147,8 +147,10 @@
 
     cimom, cimom_ver = get_cimom_ver(ip)
 
-    heading  = "%s on %s Test Run Summary for %s" % (virt, cimom, date)
-    sys_env = get_env_data(ip, virt)
+    sys_env, distro = get_env_data(ip, virt)
+
+    heading  = "Test Run Summary (%s): %s on %s with %s" % (date, virt, 
+                                                            distro, 
cimom)
 
     divider = "=================================================\n"
 

_______________________________________________
Libvirt-cim mailing list
Libvirt-cim at redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20081224/5aa3d11d/attachment.htm>


More information about the Libvirt-cim mailing list