From patchwork Sat Dec 30 01:23:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 183976 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp2880537dyb; Fri, 29 Dec 2023 17:25:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IE23NWxyB4vZqNkzILLS2xUUPBestsOZ/xaB+N4vjfujnMnw225LSn5VEhkb2ulGJWAWDni X-Received: by 2002:a05:620a:201c:b0:781:56a7:3841 with SMTP id c28-20020a05620a201c00b0078156a73841mr7914495qka.77.1703899558749; Fri, 29 Dec 2023 17:25:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703899558; cv=pass; d=google.com; s=arc-20160816; b=NRf0Iqx0rkuqO4vhkKKEWBpT3CwtobJ9bTv+UcdDs0FH/ZYJ2KgQw4s5r2t+beNzGi msf1pv2WXKCP5mTRAFFmdbw/v+yJxoc5Sc9fAVRRv3D7N9xYdi0pp7yB6upY6Ag+vRcm VUY5eFFxxxcQ6MKfNKUCwl7wx1qBUzjKiDabTJgpSjBAHOk4lIUuDC9qcV0BU9KjK3ZO +HKkKci1Zqp7rD8ZoBTL9xP0e/ad6He2/DCObWGpDCBD+WCtqa9LtjJbcOlTg2LE+/BS o2WXyUYiNVeRAk1WBoK3MSRDKDHxeKoREHpvOuIVWlU4UWGpORaaGXxujXUHhPN+gSKM 6s1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:subject:to:from:date:arc-filter:dmarc-filter :delivered-to; bh=BkpyX6qvC695wAe1opH27OIEO9ilac4jXS5F3HCn6DU=; fh=sJ+2/4g29YdyXkoRrFZSpsL2zxijepB7X/1rB0LDDh8=; b=ei/LydDub3MkjVExenAogTZGXcGY7yLp4ofz4/wgKAGryVQ/T5NpahWfIieg2lnbd4 Bid9+UKk75VkfspqaUoLRx1AFi17ip+IZGsNSTbs3bqFrskgBwFyh8hg7j0BMyo7JNaU N3lDw8/gvdqe5EKWQVrTDs+QtIb1GyG3Q7RxPNjK+tarMD2FjeC2xKFme0+g/Zd/sSlo 5tT43EEUVB/5zNnMemA7ycf/Men23vGvCrbkZWuu14b2dCaTUhOfwvta/brwPEh+tj2m 1f6/KN2TvDmLsqq8X9zXE6Ua9O1G4PWcikk39pQPBwa5EEGSaVMN2mQ4yMB8LCV4E60I RRgg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id u21-20020a05620a455500b0077a565e3fedsi21685779qkp.118.2023.12.29.17.25.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 17:25:58 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E5C233858C53 for ; Sat, 30 Dec 2023 01:25:57 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from arjuna.pair.com (arjuna.pair.com [209.68.5.131]) by sourceware.org (Postfix) with ESMTPS id B1F2E3858D3C; Sat, 30 Dec 2023 01:23:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B1F2E3858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bitrange.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bitrange.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B1F2E3858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.68.5.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703899416; cv=none; b=GAImgs8YnH+qpvK0vQZt1S3wk+HcRkJjtXKwcIc0wwOBp55P3GynPfmNHq9xOGrHc6etu2pFtrFeA6h6oclj5uBIxY3L8/32fGgl+G84+97Pn/AL+JEsaZd2awODRzzZmCWXsrLgzQ0PIFZpVXrbFncTHksDWzrezeC+dsosdPE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703899416; c=relaxed/simple; bh=W30yvKbQ8neu01RBQP2/2Zi4u5+f6yoPT2IfxkxesT4=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=RkgOm0SMD4Jiyr8S0hcLz59cOSk3Ao/7fUqmAJ9p6LMZep+lbM783UsTQFthg2FgByuBPQjhPrHZFQlPL5D4UQOV/Y0GLqcYjRFX614FdGHts+EKEtyws8DcBOvt/dgX5PJ6bZtYs7ZVzZ8L7KK18FncFKa9x5h4YeRI22c+C0w= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by arjuna.pair.com (Postfix, from userid 3006) id F29578A7D4; Fri, 29 Dec 2023 20:23:31 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by arjuna.pair.com (Postfix) with ESMTP id F1FF38A7C2; Fri, 29 Dec 2023 20:23:31 -0500 (EST) Date: Fri, 29 Dec 2023 20:23:31 -0500 (EST) From: Hans-Peter Nilsson X-X-Sender: hp@arjuna.pair.com To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH] libstdc++ testsuite/20_util/hash/quality.cc: Increase timeout 3x Message-ID: User-Agent: Alpine 2.20.16 (BSF 172 2016-09-29) MIME-Version: 1.0 X-Scanned-By: mailmunge 3.11 on 209.68.5.131 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786668183394891873 X-GMAIL-MSGID: 1786668183394891873 Tested for mmix and observing the increased timeout in the .log file - and the test passing. Ok to commit? Or better suggestions? -- >8 -- Testing for mmix (a 64-bit target using Knuth's simulator). The test is largely pruned for simulators, but still needs 5m57s on my laptop from 3.5 years ago to run to successful completion. Perhaps slow hosted targets could also have problems so increasing the timeout limit, not just for simulators but for everyone, and by more than a factor 2. * testsuite/20_util/hash/quality.cc: Increase timeout by a factor 3. --- libstdc++-v3/testsuite/20_util/hash/quality.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/testsuite/20_util/hash/quality.cc b/libstdc++-v3/testsuite/20_util/hash/quality.cc index 7d4208ed6d21..811110efc026 100644 --- a/libstdc++-v3/testsuite/20_util/hash/quality.cc +++ b/libstdc++-v3/testsuite/20_util/hash/quality.cc @@ -1,5 +1,6 @@ // { dg-options "-DNTESTS=1 -DNSTRINGS=100 -DSTRSIZE=21" { target simulator } } // { dg-do run { target c++11 } } +// { dg-timeout-factor 3 } // Copyright (C) 2010-2023 Free Software Foundation, Inc. //