From 98d3ea6c3976b5ef48b56c78ef36d38dd7c5d682 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 11 Dec 2009 22:52:03 +0000 Subject: [PATCH] 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 --- test/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ') ) -- 2.50.1