From patchwork Thu Oct 26 20:11:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 1855980 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=bNxAcbuS; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SGcQj031Lz23jc for ; Fri, 27 Oct 2023 07:12:12 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EE873385B537 for ; Thu, 26 Oct 2023 20:12:10 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 2B0943858C36 for ; Thu, 26 Oct 2023 20:11:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2B0943858C36 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2B0943858C36 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698351119; cv=none; b=RcO3gM9NpJm6qgIcIGkrCbEjoHf9kNofOKNtVVnh9Eq0tL0ifCtFA4p0ybp+6YPLt7gNB17Ap6/aPctkx3+gGdEz9QGOSm+eBHv87GhDPh+yqyWsRbjaIZZAO4nlQ0YepS2Vh7E0t6uiScaJd1jR8opr0AgdW//swaEPEw6FvXw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698351119; c=relaxed/simple; bh=zzo/gGhGcvKw7ejyQ121aB9K5gh2wdtJztDWyHs4dJk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=hYvIGR64wsEt04aAE5mJsyL8sN+uX3AiY5YzAFb0TKv8zjbbh8+dyszvatrkK1tOI6EVqHbCSV705Evmw85FJPSZJqWjVdZtQBIfpcJJGkWkAqFPivx4GHAnrOaHu1KkTMMevv6gdLBxRK0+oKh+ZELmPhxKXjlG7/lZevKISUU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698351117; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+27W6YvdeSkB2AEqm3KM0NkIud45A3dOjk1DGEX3VSU=; b=bNxAcbuS2xE7Z+h8SYCOu1pptlp3rn6WnapDvsNkwahREJhpUz/z4wmxqqgpu3DmhFnbiE 2Js91e0nBTABx23s44mSzZRoOFrMrpWwxgxIkJvoACMF8OHSnc/fej/JJHU9NaQqQROK43 5SNcUBrJmQ2/thxnoUF1rPDo+Jse+2o= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-590-wrbb0ApeNzWiR9jvVgyQjQ-1; Thu, 26 Oct 2023 16:11:54 -0400 X-MC-Unique: wrbb0ApeNzWiR9jvVgyQjQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6FD11811E8D; Thu, 26 Oct 2023 20:11:54 +0000 (UTC) Received: from localhost (unknown [10.42.28.221]) by smtp.corp.redhat.com (Postfix) with ESMTP id 374DA492BFA; Thu, 26 Oct 2023 20:11:54 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Add dg-timeout-factor to IO tests Date: Thu, 26 Oct 2023 21:11:03 +0100 Message-ID: <20231026201153.654072-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=unavailable 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+incoming=patchwork.ozlabs.org@gcc.gnu.org Tested x86_64-linux. Pushed to trunk. Worth backporting to gcc-13 too. -- >8 -- This avoids failures due to compilation timeouts when testing with a low tool_timeout value. libstdc++-v3/ChangeLog: * testsuite/20_util/duration/io.cc: Double timeout using dg-timeout-factor. * testsuite/std/time/day/io.cc: Likewise. * testsuite/std/time/format.cc: Likewise. * testsuite/std/time/hh_mm_ss/io.cc: Likewise. * testsuite/std/time/month/io.cc: Likewise. * testsuite/std/time/month_day/io.cc: Likewise. * testsuite/std/time/month_day_last/io.cc: Likewise. * testsuite/std/time/month_weekday/io.cc: Likewise. * testsuite/std/time/month_weekday_last/io.cc: Likewise. * testsuite/std/time/weekday/io.cc: Likewise. * testsuite/std/time/weekday_indexed/io.cc: Likewise. * testsuite/std/time/weekday_last/io.cc: Likewise. * testsuite/std/time/year/io.cc: Likewise. * testsuite/std/time/year_month/io.cc: Likewise. * testsuite/std/time/year_month_day/io.cc: Likewise. * testsuite/std/time/year_month_day_last/io.cc: Likewise. * testsuite/std/time/year_month_weekday/io.cc: Likewise. * testsuite/std/time/year_month_weekday_last/io.cc: Likewise. * testsuite/std/time/zoned_time/io.cc: Likewise. --- libstdc++-v3/testsuite/20_util/duration/io.cc | 1 + libstdc++-v3/testsuite/std/time/day/io.cc | 1 + libstdc++-v3/testsuite/std/time/format.cc | 1 + libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc | 1 + libstdc++-v3/testsuite/std/time/month/io.cc | 1 + libstdc++-v3/testsuite/std/time/month_day/io.cc | 1 + libstdc++-v3/testsuite/std/time/month_day_last/io.cc | 1 + libstdc++-v3/testsuite/std/time/month_weekday/io.cc | 1 + libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc | 1 + libstdc++-v3/testsuite/std/time/weekday/io.cc | 1 + libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc | 1 + libstdc++-v3/testsuite/std/time/weekday_last/io.cc | 1 + libstdc++-v3/testsuite/std/time/year/io.cc | 1 + libstdc++-v3/testsuite/std/time/year_month/io.cc | 1 + libstdc++-v3/testsuite/std/time/year_month_day/io.cc | 1 + libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc | 1 + libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc | 1 + libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc | 1 + libstdc++-v3/testsuite/std/time/zoned_time/io.cc | 1 + 19 files changed, 19 insertions(+) diff --git a/libstdc++-v3/testsuite/20_util/duration/io.cc b/libstdc++-v3/testsuite/20_util/duration/io.cc index a652a34e52f..d2b9de73f83 100644 --- a/libstdc++-v3/testsuite/20_util/duration/io.cc +++ b/libstdc++-v3/testsuite/20_util/duration/io.cc @@ -1,4 +1,5 @@ // { dg-do run { target c++20 } } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/day/io.cc b/libstdc++-v3/testsuite/std/time/day/io.cc index cf5cd3439c4..3454657f69f 100644 --- a/libstdc++-v3/testsuite/std/time/day/io.cc +++ b/libstdc++-v3/testsuite/std/time/day/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/format.cc b/libstdc++-v3/testsuite/std/time/format.cc index 97035e2cdd4..d6e35832cb5 100644 --- a/libstdc++-v3/testsuite/std/time/format.cc +++ b/libstdc++-v3/testsuite/std/time/format.cc @@ -1,4 +1,5 @@ // { dg-do run { target c++20 } } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc b/libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc index e431f0cf918..8eb80422e6e 100644 --- a/libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc +++ b/libstdc++-v3/testsuite/std/time/hh_mm_ss/io.cc @@ -1,4 +1,5 @@ // { dg-do run { target c++20 } } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/month/io.cc b/libstdc++-v3/testsuite/std/time/month/io.cc index fb1c6425f4c..7e80a53bbb6 100644 --- a/libstdc++-v3/testsuite/std/time/month/io.cc +++ b/libstdc++-v3/testsuite/std/time/month/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/month_day/io.cc b/libstdc++-v3/testsuite/std/time/month_day/io.cc index 4dafbb212f6..30aa5881356 100644 --- a/libstdc++-v3/testsuite/std/time/month_day/io.cc +++ b/libstdc++-v3/testsuite/std/time/month_day/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/month_day_last/io.cc b/libstdc++-v3/testsuite/std/time/month_day_last/io.cc index 4f430d4e3e3..c12cee848ed 100644 --- a/libstdc++-v3/testsuite/std/time/month_day_last/io.cc +++ b/libstdc++-v3/testsuite/std/time/month_day_last/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/month_weekday/io.cc b/libstdc++-v3/testsuite/std/time/month_weekday/io.cc index ee841eb1ef1..82cac648905 100644 --- a/libstdc++-v3/testsuite/std/time/month_weekday/io.cc +++ b/libstdc++-v3/testsuite/std/time/month_weekday/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc b/libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc index 96a9ad9bd62..47968d0e06d 100644 --- a/libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc +++ b/libstdc++-v3/testsuite/std/time/month_weekday_last/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/weekday/io.cc b/libstdc++-v3/testsuite/std/time/weekday/io.cc index 6f6a03774fa..5ed90282f95 100644 --- a/libstdc++-v3/testsuite/std/time/weekday/io.cc +++ b/libstdc++-v3/testsuite/std/time/weekday/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc b/libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc index 530138ea839..29255ad5c06 100644 --- a/libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc +++ b/libstdc++-v3/testsuite/std/time/weekday_indexed/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/weekday_last/io.cc b/libstdc++-v3/testsuite/std/time/weekday_last/io.cc index de88ad20540..6f76922195d 100644 --- a/libstdc++-v3/testsuite/std/time/weekday_last/io.cc +++ b/libstdc++-v3/testsuite/std/time/weekday_last/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/year/io.cc b/libstdc++-v3/testsuite/std/time/year/io.cc index f26162d94cf..6157afae253 100644 --- a/libstdc++-v3/testsuite/std/time/year/io.cc +++ b/libstdc++-v3/testsuite/std/time/year/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/year_month/io.cc b/libstdc++-v3/testsuite/std/time/year_month/io.cc index 1b58a9e2468..7bb3442e299 100644 --- a/libstdc++-v3/testsuite/std/time/year_month/io.cc +++ b/libstdc++-v3/testsuite/std/time/year_month/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/year_month_day/io.cc b/libstdc++-v3/testsuite/std/time/year_month_day/io.cc index 636b30592c8..15c5a9f77be 100644 --- a/libstdc++-v3/testsuite/std/time/year_month_day/io.cc +++ b/libstdc++-v3/testsuite/std/time/year_month_day/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc b/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc index 0dcc1df9fb7..3241536a2e6 100644 --- a/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc +++ b/libstdc++-v3/testsuite/std/time/year_month_day_last/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc b/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc index 77fec80cca6..65baf1d37ae 100644 --- a/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc +++ b/libstdc++-v3/testsuite/std/time/year_month_weekday/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc b/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc index 386f86875b3..17f2244420d 100644 --- a/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc +++ b/libstdc++-v3/testsuite/std/time/year_month_weekday_last/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-namedlocale "fr_FR.ISO8859-15" } +// { dg-timeout-factor 2 } #include #include diff --git a/libstdc++-v3/testsuite/std/time/zoned_time/io.cc b/libstdc++-v3/testsuite/std/time/zoned_time/io.cc index 6f3ed4d4672..376b2734f19 100644 --- a/libstdc++-v3/testsuite/std/time/zoned_time/io.cc +++ b/libstdc++-v3/testsuite/std/time/zoned_time/io.cc @@ -1,5 +1,6 @@ // { dg-do run { target c++20 } } // { dg-require-effective-target cxx11_abi } +// { dg-timeout-factor 2 } #include #include