Loosen up the timing requirements on 4 more tests.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@161289 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2012-08-04 00:47:42 +00:00
parent 4b2f4203a2
commit 6886dd19c4
4 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ void f()
}
else
{
assert(t1 - t0 - milliseconds(250) < milliseconds(5));
assert(t1 - t0 - milliseconds(250) < milliseconds(10));
assert(test2 == 0);
}
++runs;

View File

@ -58,7 +58,7 @@ void f()
}
else
{
assert(t1 - t0 - milliseconds(250) < milliseconds(2));
assert(t1 - t0 - milliseconds(250) < milliseconds(10));
assert(test2 == 0);
}
++runs;

View File

@ -37,7 +37,7 @@ void f()
m.unlock();
m.unlock();
ns d = t1 - t0 - ms(250);
assert(d < ns(2500000)); // within 2.5ms
assert(d < ms(10)); // within 10ms
}
int main()

View File

@ -37,7 +37,7 @@ void f()
m.unlock();
m.unlock();
ns d = t1 - t0 - ms(250);
assert(d < ns(2500000)); // within 2.5ms
assert(d < ms(10)); // within 10ms
}
int main()