[tsan] Fix the lit expansion of %deflake not to eat a space
authorKuba Mracek <mracek@apple.com>
Sat, 26 Nov 2016 19:09:32 +0000 (19:09 +0000)
committerKuba Mracek <mracek@apple.com>
Sat, 26 Nov 2016 19:09:32 +0000 (19:09 +0000)
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

compiler-rt/test/tsan/lit.cfg

index 9dd890a..5d82cc9 100644 (file)
@@ -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']