# HG changeset patch
# User Kaitlin Rupert <karupert(a)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(a)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"