From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 5645A3888C43; Thu, 21 Apr 2022 12:32:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5645A3888C43 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r11-9905] libstdc++: Increase timeout for pthread7-rope.cc test X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: bb5652c7285ffa32188352cd4066a37e04f866a6 X-Git-Newrev: bd637ac52c4d17f28b57f6fda2d98cd204185e08 Message-Id: <20220421123253.5645A3888C43@sourceware.org> Date: Thu, 21 Apr 2022 12:32:53 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2022 12:32:53 -0000 https://gcc.gnu.org/g:bd637ac52c4d17f28b57f6fda2d98cd204185e08 commit r11-9905-gbd637ac52c4d17f28b57f6fda2d98cd204185e08 Author: Jonathan Wakely Date: Thu Jan 6 11:10:31 2022 +0000 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. (cherry picked from commit e19e2989c36c5148ceb67a1f2575718fc1927ce6) Diff: --- libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc b/libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc index 5df9f330cd4..ed0614e2797 100644 --- a/libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc +++ b/libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc @@ -20,6 +20,7 @@ // { dg-do run } // { dg-options "-pthread" } // { dg-require-effective-target pthread } +// { dg-timeout-factor 2 } #include #include @@ -33,7 +34,7 @@ typedef __gnu_cxx::rope > 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