diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-07-20 19:48:05 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-07-20 19:48:05 +0000 |
commit | 11ac39722c32bc68143bc6ea2c2b595bac56ea93 (patch) | |
tree | 6fa57db433976ba71f9fbf2f2e8cb5fd5b0ff3dc /libcxx/test/thread | |
parent | 8e882dcb2e832d06d4886159aea2ae655694edbf (diff) | |
download | bcm5719-llvm-11ac39722c32bc68143bc6ea2c2b595bac56ea93.tar.gz bcm5719-llvm-11ac39722c32bc68143bc6ea2c2b595bac56ea93.zip |
Relax the tolerances on some timing tests.
llvm-svn: 160566
Diffstat (limited to 'libcxx/test/thread')
-rw-r--r-- | libcxx/test/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp | 2 | ||||
-rw-r--r-- | libcxx/test/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp b/libcxx/test/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp index c9efb8d9cd6..8421425269f 100644 --- a/libcxx/test/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp +++ b/libcxx/test/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp @@ -75,7 +75,7 @@ void f() } else { - assert(t1 - t0 - Clock::duration(250) < Clock::duration(2)); + assert(t1 - t0 - Clock::duration(250) < Clock::duration(5)); assert(test2 == 0); assert(!r); } diff --git a/libcxx/test/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp b/libcxx/test/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp index 7c3493198d2..6a7a132a400 100644 --- a/libcxx/test/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp +++ b/libcxx/test/thread/thread.condition/thread.condition.condvarany/wait_until_pred.pass.cpp @@ -79,7 +79,7 @@ void f() } else { - assert(t1 - t0 - Clock::duration(250) < Clock::duration(2)); + assert(t1 - t0 - Clock::duration(250) < Clock::duration(5)); assert(test2 == 0); assert(!r); } |