From 3a481cf0bdbc9d63f0d6467717b799450fe63083 Mon Sep 17 00:00:00 2001 From: Kuba Mracek Date: Sat, 26 Nov 2016 19:09:32 +0000 Subject: [PATCH] [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 llvm-svn: 287989 --- compiler-rt/test/tsan/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/tsan/lit.cfg b/compiler-rt/test/tsan/lit.cfg index 9dd890a..5d82cc9 100644 --- a/compiler-rt/test/tsan/lit.cfg +++ b/compiler-rt/test/tsan/lit.cfg @@ -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'] -- 2.7.4