aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-11 22:52:03 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-11 22:52:03 +0000
commit98d3ea6c3976b5ef48b56c78ef36d38dd7c5d682 (patch)
tree97f9ed3d217c53ee6f1c113b51e3e6b7286469e6
parent2a3a8b9f47b0a8f3fdd57bc4fbd08684feb4fa85 (diff)
Tests: Change substitution to automagically use 'clang -cc1' instead of 'clang-cc'. I still plan to eventually rewrite the tests to clarify the magic (I will probably actually rewrite them to %clang so it is more obvious this is a variable that gets substituted).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91173 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 6fa6742a4a..7830b1cd66 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -155,4 +155,4 @@ config.substitutions.append( (' clang ', ' ' + config.clang + ' ') )
config.clang_cc = inferClangCC(config.clang, config.environment['PATH'])
if not lit.quiet:
lit.note('using clang-cc: %r' % config.clang_cc)
-config.substitutions.append( (' clang-cc ', ' ' + config.clang_cc + ' ') )
+config.substitutions.append( (' clang-cc ', ' ' + config.clang + ' -cc1 ') )