diff options
author | Amaury de la Vieuville <amaury.dlv@gmail.com> | 2013-09-13 10:59:01 +0000 |
---|---|---|
committer | Amaury de la Vieuville <amaury.dlv@gmail.com> | 2013-09-13 10:59:01 +0000 |
commit | 2c9d79beee7456c1404f474cdaaa8ec56ff9a5e6 (patch) | |
tree | 224afab8b396a1c4e0eed26393fe42d4d900cef6 /test/ExecutionEngine | |
parent | 6f74b140c4548e17a396a320209a36abd33d40a3 (diff) | |
download | external_llvm-2c9d79beee7456c1404f474cdaaa8ec56ff9a5e6.zip external_llvm-2c9d79beee7456c1404f474cdaaa8ec56ff9a5e6.tar.gz external_llvm-2c9d79beee7456c1404f474cdaaa8ec56ff9a5e6.tar.bz2 |
Add "native" to config.available_features, to make it easier to disable non-x-compile-safe tests
Patch by Artyom Skrobov!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine')
-rw-r--r-- | test/ExecutionEngine/MCJIT/lit.local.cfg | 6 | ||||
-rw-r--r-- | test/ExecutionEngine/lit.local.cfg | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/test/ExecutionEngine/MCJIT/lit.local.cfg b/test/ExecutionEngine/MCJIT/lit.local.cfg index bad4c8c..fdb36ee 100644 --- a/test/ExecutionEngine/MCJIT/lit.local.cfg +++ b/test/ExecutionEngine/MCJIT/lit.local.cfg @@ -15,8 +15,12 @@ if root.host_arch not in ['i386', 'x86', 'x86_64', if 'armv7' in root.host_arch: config.unsupported = False -if 'i386-apple-darwin' in root.target_triple: +if 'i386-apple-darwin' in root.target_triple: config.unsupported = True if 'powerpc' in root.target_triple and not 'powerpc64' in root.target_triple: config.unsupported = True + +# ExecutionEngine tests are not expected to pass in a cross-compilation setup. +if 'native' not in config.available_features: + config.unsupported = True diff --git a/test/ExecutionEngine/lit.local.cfg b/test/ExecutionEngine/lit.local.cfg index 215ecae..28c56ad 100644 --- a/test/ExecutionEngine/lit.local.cfg +++ b/test/ExecutionEngine/lit.local.cfg @@ -3,3 +3,7 @@ if config.root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']: if 'hexagon' in config.root.target_triple: config.unsupported = True + +# ExecutionEngine tests are not expected to pass in a cross-compilation setup. +if 'native' not in config.available_features: + config.unsupported = True |