aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2006-11-01 08:34:55 +0000
committerEwan Mellor <ewan@xensource.com>2006-11-01 08:34:55 +0000
commitc51e990ede4de5a9e43446956a2c06f8fbdb6585 (patch)
treebf4956a87ba79d1a51fd00c62b5b4bc0dd9ba170 /tools/xm-test
parent1cbd4a630388d89f134884d28b83d68395c8a0ca (diff)
downloadxen-c51e990ede4de5a9e43446956a2c06f8fbdb6585.tar.gz
xen-c51e990ede4de5a9e43446956a2c06f8fbdb6585.tar.bz2
xen-c51e990ede4de5a9e43446956a2c06f8fbdb6585.zip
This fixes another missing part for x86-64 support in the xm testsuite.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Diffstat (limited to 'tools/xm-test')
-rw-r--r--tools/xm-test/lib/XmTestReport/arch.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/xm-test/lib/XmTestReport/arch.py b/tools/xm-test/lib/XmTestReport/arch.py
index e4fd16273d..965e7fb9c6 100644
--- a/tools/xm-test/lib/XmTestReport/arch.py
+++ b/tools/xm-test/lib/XmTestReport/arch.py
@@ -28,6 +28,7 @@ _uname_to_arch_map = {
"i486" : "x86",
"i586" : "x86",
"i686" : "x86",
+ "x86_64": "x86_64",
"ia64" : "ia64",
"ppc" : "powerpc",
"ppc64" : "powerpc",
@@ -37,6 +38,9 @@ _arch = _uname_to_arch_map.get(os.uname()[4], "Unknown")
if _arch == "x86":
cpuValues = {"model_name" : "Unknown",
"flags" : "Unknown"}
+elif _arch == "x86_64":
+ cpuValues = {"model_name" : "Unknown",
+ "flags" : "Unknown"}
elif _arch == "ia64":
cpuValues = {"arch" : "Unknown",
"features" : "Unknown"}