Skip to content

Commit

Permalink
[TSan] Fix incorrect expansion of %deflake lit substitution.
Browse files Browse the repository at this point in the history
dadc214 introduced a change to
`%deflake` to support a configurable threshold but the patch forgot
to add a trailing space.
  • Loading branch information
delcypher committed Feb 19, 2020
1 parent c3478ef commit ddd2257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/test/tsan/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def build_invocation(compile_flags):
# 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.deflake_threshold))
config.substitutions.append( ("%deflake ", os.path.join(os.path.dirname(__file__), "deflake.bash") + " " + config.deflake_threshold + " "))

# Default test suffixes.
config.suffixes = ['.c', '.cpp', '.m', '.mm']
Expand Down

0 comments on commit ddd2257

Please sign in to comment.