Skip to content

Commit

Permalink
[tsan] Fix the lit expansion of %deflake not to eat a space
Browse files Browse the repository at this point in the history
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

llvm-svn: 287989
  • Loading branch information
kubamracek committed Nov 26, 2016
1 parent 13320a5 commit 3a481cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/test/tsan/lit.cfg
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ config.substitutions.append( ("%clangxx_tsan ", build_invocation(clang_tsan_cxxf
# 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']

0 comments on commit 3a481cf

Please sign in to comment.