[cfe-commits] r96510 - /cfe/trunk/test/lit.cfg
Daniel Dunbar
daniel at zuster.org
Wed Feb 17 12:31:02 PST 2010
Author: ddunbar
Date: Wed Feb 17 14:31:01 2010
New Revision: 96510
URL: http://llvm.org/viewvc/llvm-project?rev=96510&view=rev
Log:
tests: Add '%clangxx' substitution, for 'clang++'
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=96510&r1=96509&r2=96510&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Wed Feb 17 14:31:01 2010
@@ -123,12 +123,15 @@
if not lit.quiet:
lit.note('using clang: %r' % config.clang)
config.substitutions.append( ('%clang_cc1', config.clang + ' -cc1') )
+config.substitutions.append( ('%clangxx', ' ' + config.clang + '++ ') )
config.substitutions.append( ('%clang', ' ' + config.clang + ' ') )
# FIXME: Find nicer way to prohibit this.
config.substitutions.append(
(' clang ', """*** Do not use 'clang' in tests, use '%clang'. ***""") )
config.substitutions.append(
+ (' clang++ ', """*** Do not use 'clang++' in tests, use '%clangxx'. ***"""))
+config.substitutions.append(
(' clang-cc ',
"""*** Do not use 'clang-cc' in tests, use '%clang_cc1'. ***""") )
config.substitutions.append(
More information about the cfe-commits
mailing list