[compiler-rt] r287989 - [tsan] Fix the lit expansion of %deflake not to eat a space

Kuba Mracek via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 26 11:09:33 PST 2016


Author: kuba.brecka
Date: Sat Nov 26 13:09:32 2016
New Revision: 287989

URL: http://llvm.org/viewvc/llvm-project?rev=287989&view=rev
Log:
[tsan] Fix the lit expansion of %deflake not to eat a space

The lit expansion of "%deflake " (notice the space after) expands in a way that the space is removed, this fixes that.

Differential Revision: https://reviews.llvm.org/D27139


Modified:
    compiler-rt/trunk/test/tsan/lit.cfg

Modified: compiler-rt/trunk/test/tsan/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/lit.cfg?rev=287989&r1=287988&r2=287989&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/lit.cfg (original)
+++ compiler-rt/trunk/test/tsan/lit.cfg Sat Nov 26 13:09:32 2016
@@ -70,7 +70,7 @@ config.substitutions.append( ("%clangxx_
 # Define CHECK-%os to check for OS-dependent output.
 config.substitutions.append( ('CHECK-%os', ("CHECK-" + config.host_os)))
 
-config.substitutions.append( ("%deflake ", os.path.join(os.path.dirname(__file__), "deflake.bash")) )
+config.substitutions.append( ("%deflake ", os.path.join(os.path.dirname(__file__), "deflake.bash") + " "))
 
 # Default test suffixes.
 config.suffixes = ['.c', '.cc', '.cpp', '.m', '.mm']




More information about the llvm-commits mailing list