[PATCH] D27139: [tsan] Fix the lit expansion of %deflake not to eat a space

Kuba (Brecka) Mracek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 25 13:34:43 PST 2016


kubabrecka created this revision.
kubabrecka added reviewers: dvyukov, zaks.anna.
kubabrecka added a subscriber: llvm-commits.
kubabrecka set the repository for this revision to rL LLVM.
kubabrecka added a project: Sanitizers.

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


Repository:
  rL LLVM

https://reviews.llvm.org/D27139

Files:
  test/tsan/lit.cfg


Index: test/tsan/lit.cfg
===================================================================
--- test/tsan/lit.cfg
+++ test/tsan/lit.cfg
@@ -70,7 +70,7 @@
 # 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']


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27139.79321.patch
Type: text/x-patch
Size: 578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161125/038f4b80/attachment.bin>


More information about the llvm-commits mailing list