From patchwork Sat Jan 24 06:10:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chung-Lin Tang X-Patchwork-Id: 432381 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 24D5C1402A6 for ; Sat, 24 Jan 2015 17:11:09 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:content-type; q=dns; s=default; b=jGDXVTyYoEPLhFvZTL6Vw guWQx7LZbE37P1+U+quQ7Sb2wMY8Jctk/ojwgcD0Aw9i9YU+RhRs6CI0y47mAnAi +w2nkH/Ww3SA75p3ro0QpcQoVYpG2yoQivsnwwoGr3s6QHlSggiElbY0iuGZFzYk DrNrgEhSIlq0TlbdRUUL1Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:content-type; s=default; bh=bIFBTvNLDrzLMzLqVNKIMb7ewvM =; b=jZeYUMwKvC8fKO4vmtPBszdaEZFQWJ3P/CvP+kYw56caqCFPQcd+QJtr3Ky 2nHDSAj8YfJxxr7qKlhdzsM4gRpiHdnrtx87hsuS4qcxqON25xF6i1S2a3YD/ptN /QZv3arGPv4qdU70GuETHUNOkxUf2FRkcLESq6ghf8D3VSto= Received: (qmail 9982 invoked by alias); 24 Jan 2015 06:11:02 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 9942 invoked by uid 89); 24 Jan 2015 06:11:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Message-ID: <54C3376D.80100@codesourcery.com> Date: Sat, 24 Jan 2015 14:10:53 +0800 From: Chung-Lin Tang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: CC: Carlos O'Donell , "Joseph S. Myers" Subject: [PATCH] Adjust some timeouts for slow CPUs Hi, this was submitted earlier with the nios2 patches, but Joseph suggested it to be a separate patch. Some tests take a really long time to run on slow CPUs, often with no FPU, like typical Nios II soft-cores; I noticed a few tests started to timeout after they were updated to use test-skeleton.c. So I'm seeking permission to adjust the timeouts as attached. This won't unstabilize anything, okay to commit? Thanks, Chung-Lin 2015-01-24 Chung-Lin Tang * libio/tst-memstream2.c (TIMEOUT): Define as 100. * math/atest-exp.c (TIMEOUT): Adjust to 200. * math/atest-exp2.c (TIMEOUT): Adjust to 300. * math/atest-sincos.c (TIMEOUT): Adjust to 600. diff --git a/libio/tst-memstream2.c b/libio/tst-memstream2.c index 9619d77..cbea4b2 100644 --- a/libio/tst-memstream2.c +++ b/libio/tst-memstream2.c @@ -100,5 +100,6 @@ do_test (void) return 0; } +#define TIMEOUT 100 #define TEST_FUNCTION do_test () #include "../test-skeleton.c" diff --git a/math/atest-exp.c b/math/atest-exp.c index e190e5d..be0d401 100644 --- a/math/atest-exp.c +++ b/math/atest-exp.c @@ -191,6 +191,6 @@ do_test (void) return failures == 0 ? 0 : 1; } -#define TIMEOUT 10 +#define TIMEOUT 200 #define TEST_FUNCTION do_test () #include "../test-skeleton.c" diff --git a/math/atest-exp2.c b/math/atest-exp2.c index f11b652..307c741 100644 --- a/math/atest-exp2.c +++ b/math/atest-exp2.c @@ -228,6 +228,6 @@ do_test (void) return failures == 0 ? 0 : 1; } -#define TIMEOUT 10 +#define TIMEOUT 300 #define TEST_FUNCTION do_test () #include "../test-skeleton.c" diff --git a/math/atest-sincos.c b/math/atest-sincos.c index 5f0f032..0933169 100644 --- a/math/atest-sincos.c +++ b/math/atest-sincos.c @@ -278,6 +278,6 @@ do_test (void) return (sin_failures == 0 && cos_failures == 0) ? 0 : 1; } -#define TIMEOUT 10 +#define TIMEOUT 600 #define TEST_FUNCTION do_test () #include "../test-skeleton.c"