[llvm-commits] [llvm] r168316 - in /llvm/trunk/test/ExecutionEngine: MCJIT/lit.local.cfg lit.local.cfg
Ulrich Weigand
ulrich.weigand at de.ibm.com
Mon Nov 19 09:57:07 PST 2012
Author: uweigand
Date: Mon Nov 19 11:57:07 2012
New Revision: 168316
URL: http://llvm.org/viewvc/llvm-project?rev=168316&view=rev
Log:
Enable MCJIT tests on PowerPC.
Disable old JIT tests on PowerPC.
Modified:
llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg
llvm/trunk/test/ExecutionEngine/lit.local.cfg
Modified: llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg?rev=168316&r1=168315&r2=168316&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg (original)
+++ llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg Mon Nov 19 11:57:07 2012
@@ -8,12 +8,13 @@
root = getRoot(config)
targets = set(root.targets_to_build.split())
-if ('X86' in targets) | ('ARM' in targets) | ('Mips' in targets):
+if ('X86' in targets) | ('ARM' in targets) | ('Mips' in targets) | \
+ ('PowerPC' in targets):
config.unsupported = False
else:
config.unsupported = True
-if root.host_arch not in ['x86', 'x86_64', 'ARM', 'Mips']:
+if root.host_arch not in ['x86', 'x86_64', 'ARM', 'Mips', 'PowerPC']:
config.unsupported = True
if root.host_os in ['Darwin']:
Modified: llvm/trunk/test/ExecutionEngine/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/lit.local.cfg?rev=168316&r1=168315&r2=168316&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/lit.local.cfg (original)
+++ llvm/trunk/test/ExecutionEngine/lit.local.cfg Mon Nov 19 11:57:07 2012
@@ -1 +1,12 @@
config.suffixes = ['.ll', '.c', '.cpp']
+
+def getRoot(config):
+ if not config.parent:
+ return config
+ return getRoot(config.parent)
+
+root = getRoot(config)
+
+if root.host_arch in ['PowerPC']:
+ config.unsupported = True
+
More information about the llvm-commits
mailing list