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/MCJIT/lit.local.cfg | |
parent | 6f74b140c4548e17a396a320209a36abd33d40a3 (diff) | |
download | llvm-2c9d79beee7456c1404f474cdaaa8ec56ff9a5e6.tar.gz llvm-2c9d79beee7456c1404f474cdaaa8ec56ff9a5e6.tar.bz2 llvm-2c9d79beee7456c1404f474cdaaa8ec56ff9a5e6.tar.xz |
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/MCJIT/lit.local.cfg')
-rw-r--r-- | test/ExecutionEngine/MCJIT/lit.local.cfg | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/ExecutionEngine/MCJIT/lit.local.cfg b/test/ExecutionEngine/MCJIT/lit.local.cfg index bad4c8cf39..fdb36ee1d7 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 |