[cfe-commits] r127080 - /cfe/trunk/test/lit.cfg
NAKAMURA Takumi
geek4civic at gmail.com
Sat Mar 5 03:16:07 PST 2011
Author: chapuni
Date: Sat Mar 5 05:16:06 2011
New Revision: 127080
URL: http://llvm.org/viewvc/llvm-project?rev=127080&view=rev
Log:
test/lit.cfg: bash is available on MSYS.
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=127080&r1=127079&r2=127080&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Sat Mar 5 05:16:06 2011
@@ -24,7 +24,8 @@
#
# For now we require '&&' between commands, until they get globally killed and
# the test runner updated.
-execute_external = platform.system() != 'Windows'
+execute_external = (platform.system() != 'Windows'
+ or lit.getBashPath() not in [None, ""])
config.test_format = lit.formats.ShTest(execute_external)
# suffixes: A list of file extensions to treat as test files.
@@ -137,7 +138,7 @@
if lit.useValgrind:
config.target_triple += '-vg'
-config.clang = inferClang(config.environment['PATH'])
+config.clang = inferClang(config.environment['PATH']).replace('\\', '/')
if not lit.quiet:
lit.note('using clang: %r' % config.clang)
config.substitutions.append( ('%clang_cc1', config.clang + ' -cc1') )
More information about the cfe-commits
mailing list