summaryrefslogtreecommitdiff
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2014-10-16 23:54:26 +0000
committerFilipe Cabecinhas <me@filcab.net>2014-10-16 23:54:26 +0000
commitf488f1737fbdacefeada5abd141ea78be29cef93 (patch)
tree593af3360f158791c8f64cfb72819931a0006618 /test/lit.cfg
parent1a976212e2ec2994ac5ba3ef321bee81f6969b47 (diff)
downloadclang-f488f1737fbdacefeada5abd141ea78be29cef93.tar.gz
Appease the buildbots with the special case for non-set variables
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219994 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index c4ef15d230..cb94ce7201 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -271,8 +271,9 @@ config.substitutions.append( ('%clangxx', ' ' + config.clang +
config.substitutions.append( ('%clang', ' ' + config.clang + ' ') )
config.substitutions.append( ('%test_debuginfo', ' ' + config.llvm_src_root + '/utils/test_debuginfo.pl ') )
config.substitutions.append( ('%itanium_abi_triple', makeItaniumABITriple(config.target_triple)) )
-config.substitutions.append( ('%itanium_abi_host_triple', makeItaniumABITriple(config.host_triple)) )
config.substitutions.append( ('%ms_abi_triple', makeMSABITriple(config.target_triple)) )
+if config.host_triple != '@LLVM_HOST_TRIPLE@':
+ config.substitutions.append( ('%itanium_abi_host_triple', makeItaniumABITriple(config.host_triple)) )
# FIXME: Find nicer way to prohibit this.
config.substitutions.append(