diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-11-20 03:40:57 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-11-20 03:40:57 +0000 |
commit | 0472e91409bb15107d0dd090c0ad9a3fc8824182 (patch) | |
tree | 36a7fa1d32c0e72a79a28542f2a3e201290926e2 | |
parent | 3eca4fe7cdfd3c9f29794161750e1097a507dd9f (diff) | |
download | llvm-0472e91409bb15107d0dd090c0ad9a3fc8824182.zip llvm-0472e91409bb15107d0dd090c0ad9a3fc8824182.tar.gz llvm-0472e91409bb15107d0dd090c0ad9a3fc8824182.tar.bz2 |
Merge in r168316 so that the proper JIT tests are run on PPC.
llvm-svn: 168349
-rw-r--r-- | llvm/test/ExecutionEngine/MCJIT/lit.local.cfg | 5 | ||||
-rw-r--r-- | llvm/test/ExecutionEngine/lit.local.cfg | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg index af3d13f..7bcb9ae 100644 --- a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg +++ b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg @@ -8,12 +8,13 @@ def getRoot(config): 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']: diff --git a/llvm/test/ExecutionEngine/lit.local.cfg b/llvm/test/ExecutionEngine/lit.local.cfg index 19eebc0..f034326 100644 --- a/llvm/test/ExecutionEngine/lit.local.cfg +++ b/llvm/test/ExecutionEngine/lit.local.cfg @@ -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 + |