diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-10-26 02:50:20 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-10-26 02:50:20 +0000 |
commit | f7ca7c2a09d4fa03d29fbb1fd1358a285b3c6e2e (patch) | |
tree | a5e296840337a45245eb7fbcf5331b1fafdaa2bd /test/lit.cfg | |
parent | 94400d4a4e08ed770f017f07ce02f567cfb5c174 (diff) | |
download | external_llvm-f7ca7c2a09d4fa03d29fbb1fd1358a285b3c6e2e.zip external_llvm-f7ca7c2a09d4fa03d29fbb1fd1358a285b3c6e2e.tar.gz external_llvm-f7ca7c2a09d4fa03d29fbb1fd1358a285b3c6e2e.tar.bz2 |
llvm/test/lit.cfg: Tighten conditions to enable 'native'.
I saw the case that 'native' was mis-enabled when x86_64-pc-win32 on x86_64-linux.
FIXME: Consider cases that target can be executed even if host_triple were different from target_triple.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index 1b6fa54..9ac7e7a 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -297,7 +297,9 @@ if config.have_zlib == "1": config.available_features.add("zlib") # Native compilation: host arch == target arch -if config.host_arch in config.target_triple: +# FIXME: Consider cases that target can be executed +# even if host_triple were different from target_triple. +if config.host_triple == config.target_triple: config.available_features.add("native") # llc knows whether he is compiled with -DNDEBUG. |