tsan: improve deadlock detector test
commit6cfa818ca242c59cd4ecf0e00acda92e247d2b94
authorDmitry Vyukov <dvyukov@google.com>
Thu, 27 Feb 2014 08:04:20 +0000 (27 08:04 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Thu, 27 Feb 2014 08:04:20 +0000 (27 08:04 +0000)
treed6fc2de54ec14614313022083174d1aaa0c1fbf9
parent41bf0bc71a1dd3d5a6c0cb8d1eae2ab36790b6c4
tsan: improve deadlock detector test
- allow to specify which test to run
- allow to specify number of iterations
- specify number of threads required in the test itself

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202358 91177308-0d34-0410-b5e6-96231b3b80d8
test/tsan/deadlock_detector_stress_test.cc