summaryrefslogtreecommitdiff
path: root/test/tsan/mutexset6.cc
AgeCommit message (Collapse)Author
2015-11-28[tsan] Change mutexset6.cc to use a mutex instead of spinlockKuba Brecka
Pthread spinlocks are not available on OS X and this test doesn't really require a spinlock. Differential Revision: http://reviews.llvm.org/D14949 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@254224 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-13[tsan] Don't require full paths to be present on stack tracesKuba Brecka
The OS X symbolizers (namely AtosSymbolizer) don't return full file paths, only file names. This patch modifies `mutexset*.cc` tests not to require a path to be present in the symbol on the stack trace. Differential Revision: http://reviews.llvm.org/D14642 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253075 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-21tsan: remove sleeps from testsDmitry Vyukov
Even sleep(1) lead to episodical flakes on some machines. Use an invisible by tsan barrier to enforce required execution order instead. This makes the tests deterministic and faster. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@226659 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-30tsan: make positive tests more robustDmitry Vyukov
Add a script that is used to deflake inherently flaky tsan tests. It is invoked from lit tests as: %deflake %run %t The script runs the target program up to 10 times, until it produces a tsan warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209898 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-30Add %run to all lit testsGreg Fitzgerald
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207709 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-19[tsan] when printing a mutex, also print its address. Properly print the ↵Kostya Serebryany
deadlock report. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201675 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14Move TSan lit-tests under test/tsanAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201414 91177308-0d34-0410-b5e6-96231b3b80d8