[PATCH] [Tsan] Fix the atomic_race.cc test to pass on systems with high loads
Viktor Kutuzov
vkutuzov at accesssoftek.com
Tue Dec 2 06:25:33 PST 2014
Hi kcc, samsonov, glider, dvyukov,
The current delay duration is too short for the FreeBSD buildbot slave:
http://lab.llvm.org:8011/buildslaves/as-bldslv5
that serves several FreeBSD buildbots:
http://lab.llvm.org:8011/builders/sanitizer_x86_64-freebsd
http://lab.llvm.org:8011/builders/lld-x86_64-freebsd
http://lab.llvm.org:8011/builders/clang-mergefunc-x86_64-freebsd
and runs the lit tests in 64 threads (which is what lit.py does by default on this machine). Due to this insufficient delay the output for the reverse tests come before the output for the ordinary ones. It seems with four-second delay we pass this test persistently.
http://reviews.llvm.org/D6478
Files:
test/tsan/atomic_race.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6478.16807.patch
Type: text/x-patch
Size: 418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141202/1d68066e/attachment.bin>
More information about the llvm-commits
mailing list