aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2006-10-24 16:46:02 +0100
committerEwan Mellor <ewan@xensource.com>2006-10-24 16:46:02 +0100
commit86ba178e4fbf793fd2104e7b668da50b3921f94a (patch)
tree03ca9cd5ef064351d28e679406acb2e9690e09b6 /tools/xm-test
parent9a4180837b7946d4c89db094185036876485cb15 (diff)
downloadxen-86ba178e4fbf793fd2104e7b668da50b3921f94a.tar.gz
xen-86ba178e4fbf793fd2104e7b668da50b3921f94a.tar.bz2
xen-86ba178e4fbf793fd2104e7b668da50b3921f94a.zip
Add x86_64 to the supported architectures since otherwise the tests
don't run. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Diffstat (limited to 'tools/xm-test')
-rw-r--r--tools/xm-test/lib/XmTestLib/arch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/xm-test/lib/XmTestLib/arch.py b/tools/xm-test/lib/XmTestLib/arch.py
index d5a1aa55cb..5625a53546 100644
--- a/tools/xm-test/lib/XmTestLib/arch.py
+++ b/tools/xm-test/lib/XmTestLib/arch.py
@@ -124,6 +124,7 @@ _uname_to_arch_map = {
"i486" : "x86",
"i586" : "x86",
"i686" : "x86",
+ "x86_64": "x86_64",
"ia64" : "ia64",
"ppc" : "powerpc",
"ppc64" : "powerpc",
@@ -131,7 +132,7 @@ _uname_to_arch_map = {
# Lookup current platform.
_arch = _uname_to_arch_map.get(os.uname()[4], "Unknown")
-if _arch == "x86" or _arch == "ia64":
+if _arch == "x86" or _arch == "x86_64" or _arch == "ia64":
minSafeMem = ia_minSafeMem
getDefaultKernel = ia_getDefaultKernel
checkBuffer = ia_checkBuffer