[libcxx] r174726 - [tests] Another batch of timeout increases.
Daniel Dunbar
daniel at zuster.org
Fri Feb 8 10:26:56 PST 2013
Author: ddunbar
Date: Fri Feb 8 12:26:55 2013
New Revision: 174726
URL: http://llvm.org/viewvc/llvm-project?rev=174726&view=rev
Log:
[tests] Another batch of timeout increases.
Modified:
libcxx/trunk/test/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp
libcxx/trunk/test/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp
libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_try_to_lock.pass.cpp
libcxx/trunk/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/lock.pass.cpp
libcxx/trunk/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/lock.pass.cpp
Modified: libcxx/trunk/test/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp?rev=174726&r1=174725&r2=174726&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.condition/thread.condition.condvar/wait_until.pass.cpp Fri Feb 8 12:26:55 2013
@@ -65,7 +65,7 @@ void f()
}
else
{
- assert(t1 - t0 - Clock::duration(250) < Clock::duration(5));
+ assert(t1 - t0 - Clock::duration(250) < Clock::duration(50));
assert(test2 == 0);
}
++runs;
Modified: libcxx/trunk/test/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp?rev=174726&r1=174725&r2=174726&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.condition/thread.condition.condvar/wait_until_pred.pass.cpp Fri Feb 8 12:26:55 2013
@@ -75,7 +75,7 @@ void f()
}
else
{
- assert(t1 - t0 - Clock::duration(250) < Clock::duration(5));
+ assert(t1 - t0 - Clock::duration(250) < Clock::duration(50));
assert(test2 == 0);
assert(!r);
}
Modified: libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_try_to_lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_try_to_lock.pass.cpp?rev=174726&r1=174725&r2=174726&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_try_to_lock.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_try_to_lock.pass.cpp Fri Feb 8 12:26:55 2013
@@ -50,7 +50,7 @@ void f()
time_point t1 = Clock::now();
m.unlock();
ns d = t1 - t0 - ms(250);
- assert(d < ns(50000000)); // within 50ms
+ assert(d < ms(200)); // within 200ms
}
int main()
Modified: libcxx/trunk/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/lock.pass.cpp?rev=174726&r1=174725&r2=174726&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/lock.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/lock.pass.cpp Fri Feb 8 12:26:55 2013
@@ -37,7 +37,7 @@ void f()
m.unlock();
m.unlock();
ns d = t1 - t0 - ms(250);
- assert(d < ms(10)); // within 10ms
+ assert(d < ms(200)); // within 200ms
}
int main()
Modified: libcxx/trunk/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/lock.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/lock.pass.cpp?rev=174726&r1=174725&r2=174726&view=diff
==============================================================================
--- libcxx/trunk/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/lock.pass.cpp (original)
+++ libcxx/trunk/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/lock.pass.cpp Fri Feb 8 12:26:55 2013
@@ -35,7 +35,7 @@ void f()
time_point t1 = Clock::now();
m.unlock();
ns d = t1 - t0 - ms(250);
- assert(d < ns(2500000)); // within 2.5ms
+ assert(d < ms(50)); // within 50ms
}
int main()
More information about the cfe-commits
mailing list