[PATCH] D73707: [TSAN] Parameterize the hard-coded threshold of deflake in tsan test
Dan Liew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 13:29:55 PST 2020
delcypher 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))
----------------
anhtuyen wrote:
> 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.
I've landed a quick fix in ddd2257f48a83843aa35e7cbd337c3fe0c103598
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