[cfe-commits] r91173 - /cfe/trunk/test/lit.cfg

Daniel Dunbar daniel at zuster.org
Fri Dec 11 14:52:03 PST 2009


Author: ddunbar
Date: Fri Dec 11 16:52:03 2009
New Revision: 91173

URL: http://llvm.org/viewvc/llvm-project?rev=91173&view=rev
Log:
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).

Modified:
    cfe/trunk/test/lit.cfg

Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=91173&r1=91172&r2=91173&view=diff

==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Fri Dec 11 16:52:03 2009
@@ -155,4 +155,4 @@
 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 ') )





More information about the cfe-commits mailing list