|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-changelog
[Xen-changelog] xm-test report fails because IA64's /cpu/procinfo	format 
| # HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 9089801e73ce3d6a84af37efe1c575b9c5e551cd
# Parent  0faff739723ead64bad99ed63a663c7ab8e7b923
xm-test report fails because IA64's /cpu/procinfo format is different from
x86's.  Here's a small patch to fix the problem.
Signed-off-by: Matsumoto <n_matumoto@xxxxxxxxxxxxxxxx>
diff -r 0faff739723e -r 9089801e73ce tools/xm-test/lib/XmTestReport/OSReport.py
--- a/tools/xm-test/lib/XmTestReport/OSReport.py        Tue Dec  6 17:11:04 2005
+++ b/tools/xm-test/lib/XmTestReport/OSReport.py        Wed Dec  7 10:27:03 2005
@@ -102,6 +102,11 @@
         xen = self.__getXenInfo(xenValues)
         cpu = self.__getCpuInfo(cpuValues)
 
+        if cpu["model_name"] == "Unknown":   
+            cpuValues={"arch"  : "Unknown",
+                       "features": "Unknown"}
+            cpu=self.__getCpuInfo(cpuValues)
+
         for k in xen.keys():
             self.values[k] = xen[k]
             if xen[k] == "Unknown":
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-changelog] xm-test report fails because IA64's /cpu/procinfo	format is different from,
Xen patchbot -unstable <=
 |  |  | 
  
    |  |  |