Relax the tolerances on some timing tests.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@160566 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2012-07-20 19:48:05 +00:00
parent d06a640ba7
commit fe4c9dd747
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}