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/lit.cfg | |
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/lit.cfg')
-rw-r--r-- | test/lit.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index 3ee9edc..9e4e0b0 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -279,6 +279,10 @@ if not 'hexagon' in config.target_triple: if config.have_zlib == "1": config.available_features.add("zlib") +# Native compilation: host arch == target arch +if config.host_arch in config.target_triple: + config.available_features.add("native") + # llc knows whether he is compiled with -DNDEBUG. import subprocess try: |