diff options
| author | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2014-12-02 15:04:39 +0000 |
|---|---|---|
| committer | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2014-12-02 15:04:39 +0000 |
| commit | 870e7909243e0e7c02d40ce363aaf6bd53c28d21 (patch) | |
| tree | 10918cb4c07492f3a8ae3e2de4c258060ed7edf7 | |
| parent | fbd6ec09df39f2740cc1f8422444ba2d072bfdcf (diff) | |
| download | bcm5719-llvm-870e7909243e0e7c02d40ce363aaf6bd53c28d21.tar.gz bcm5719-llvm-870e7909243e0e7c02d40ce363aaf6bd53c28d21.zip | |
[Tsan] Fix the atomic_race.cc test to pass on systems with high loads
Differential Revision: http://reviews.llvm.org/D6478
llvm-svn: 223122
| -rw-r--r-- | compiler-rt/test/tsan/atomic_race.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/atomic_race.cc b/compiler-rt/test/tsan/atomic_race.cc index ca444b42b5b..9cee8ed8272 100644 --- a/compiler-rt/test/tsan/atomic_race.cc +++ b/compiler-rt/test/tsan/atomic_race.cc @@ -36,7 +36,7 @@ void *Thread(void *p) { for (int i = 0; i < kTestCount; i++) { Test(i, &atomics[i], false); } - sleep(2); + sleep(4); for (int i = 0; i < kTestCount; i++) { fprintf(stderr, "Test %d reverse\n", i); Test(i, &atomics[kTestCount + i], false); |

