libstdc++: Increase timeout for pthread7-rope.cc test
This test spawns thousands of threads and so times out if the tests are run with a low timeout value and the machine is busy. libstdc++-v3/ChangeLog: * testsuite/ext/rope/pthread7-rope.cc: Add dg-timeout-factor.
This commit is contained in:
parent
c83ecfbe74
commit
e19e2989c3
1 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@
|
|||
// { dg-do run }
|
||||
// { dg-options "-pthread" }
|
||||
// { dg-require-effective-target pthread }
|
||||
// { dg-timeout-factor 2 }
|
||||
|
||||
#include <ext/rope>
|
||||
#include <cstring>
|
||||
|
@ -33,7 +34,7 @@ typedef __gnu_cxx::rope<char, std::allocator<char> > rope_type;
|
|||
rope_type foo2;
|
||||
rope_type foo4;
|
||||
|
||||
void* thread_main(void *)
|
||||
void* thread_main(void *)
|
||||
{
|
||||
// To see a problem with gcc 3.3 and before, set a break point here.
|
||||
// Single step through c_str implementation, call sched_yield after
|
||||
|
|
Loading…
Add table
Reference in a new issue