From patchwork Fri Jan 9 18:06:59 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: 427223 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 60AA814018C for ; Sat, 10 Jan 2015 05:07:29 +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=cf4ZwC24TpvScrss+LwoQ VBnZ+PQMcar9exet8ffvlzBtg8M6bGnFO4qi0AyZvynhQTQq9cRx0YA51NzCMIw6 9nrAqvyoMTdbb+zFYm0g82TwY7SYxsUI3X9TxhdyIxe+v/moGzKn7FVHpiRN4eMa 36smIIzQm0aeZWdmllXYo4= 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=dEM0vOrXPpYiBjOnMf8FOV2GH+Y =; b=GQi5TvPteRIX80Q92ppwERRP8kD7t0bRAkAbDpBP8adAaBimQn+4JThttoT Us+Jh5lCm034Yimih5dlsTOs6GObKbwpNJPpL+9DnrhNNTFdsxASCSmz1B5PHNe3 KuMu0rERck2kqxqobB4RZ8whoW0KEGLVju+160xIPFdoRj8Y= Received: (qmail 27192 invoked by alias); 9 Jan 2015 18:06:53 -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 27159 invoked by uid 89); 9 Jan 2015 18:06:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS, T_FROM_12LTRDOM autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Message-ID: <54B018C3.9030901@codesourcery.com> Date: Sat, 10 Jan 2015 02:06:59 +0800 From: Chung-Lin Tang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: GNU C Library CC: "Joseph S. Myers" Subject: [PATCH v3 4/4] Nios II port re-submission, adjust test timeouts Some tests run a really long time on lower clocked soft-cores like Nios II. I didn't noticed this in last round of review, until many testcases were adjusted to use test-skeleton.c recently. Thanks, Chung-Lin * 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"