[PATCH] D73707: [TSAN] Parameterize the hard-coded threshold of deflake in tsan test
Anh Tuyen Tran via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 13:10:50 PST 2020
anhtuyen added inline comments.
================
Comment at: compiler-rt/test/tsan/lit.cfg.py:78
-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") + " " + config.deflake_threshold))
----------------
delcypher wrote:
> @anhtuyen This is breaking our tests. There's a missing space at the end of the substitution which means the command produced is something like
>
> ```
> deflake.bash 10/path/to/binary
> ```
>
> when it should be
>
> ```
> deflake.bash 10 /path/to/binary
> ```
Hello @delcypher
This does not happen on our machines, but sorry for breaking your test. The fix is so simple that I can commit it in a few minutes. However, can you give me some info about your machine so that I can test it (if I have a similar one) before pushing the fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73707/new/
https://reviews.llvm.org/D73707
More information about the llvm-commits
mailing list