From patchwork Thu Jun 20 15:35:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 1950252 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=gdFpk0m+; 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 4W4l3Z217fz20KL for ; Fri, 21 Jun 2024 01:37:14 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0E970389364E for ; Thu, 20 Jun 2024 15:37:08 +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 E600A389245E for ; Thu, 20 Jun 2024 15:35:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E600A389245E 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 E600A389245E 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=1718897747; cv=none; b=wNwuImczWXd75zCkScs73uHU8YKbHSi6LX3FrPKhue+qgedm77sZzZtpEZAJv//8uYL4xd1Puohl6nbRB/Kmc87wGAqfbVznic9FFBXcE555F4wpEmYcKS9bfVltH+TfOuhBAQYOYFAlrHMc1uA4eQ3QsvaUFco56EfTCxvVcAw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718897747; c=relaxed/simple; bh=aOS4vZmqetCb2FXUAqVC2FIVkHWk0+Qj98RyPyNPnSk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=wH74rZUMtDyTgnkgTMRVA/+6xMYt3N42RJt+mSzniqUwnhmc3nxRSA2IAkNg33E2/LlBjWXXn1rinPL4arj4LNh1Oki6MO7L6lgWEMYma6ZOFv6fcr48V2CEgyeA2D+CXQTPN3m19VM3DHNbjCr34qvvaQJCNwRUQaiusI9qt3k= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718897745; 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: in-reply-to:in-reply-to:references:references; bh=skVUa3uBGGIEcGXQ88Pfo0Dmx04lMyhHZVSlrqkFaek=; b=gdFpk0m+Kj8tWZ1W04ZeoVFNsU/kILDwiqBFUBBVsYOFHtMtOk6b3eHbSZ/vn2cRXaz7qv HiAyIisQ3RmdcPKOoMeGuJgVqmzLN/bHOeyrCgP+3lgmopbVRzFjY3ClZeZ9O4O/trHrAr FA3+XJlll0lmNHhUBY1kwKcXz2oekG0= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-660-FS02-e0-MAqRZ-wOOz6QGQ-1; Thu, 20 Jun 2024 11:35:43 -0400 X-MC-Unique: FS02-e0-MAqRZ-wOOz6QGQ-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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 mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1CC571955D8D; Thu, 20 Jun 2024 15:35:40 +0000 (UTC) Received: from localhost (unknown [10.42.28.182]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 849FB1956048; Thu, 20 Jun 2024 15:35:39 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH 2/2] libstdc++: Increase timeouts for PSTL tests in debug mode [PR90276] Date: Thu, 20 Jun 2024 16:35:13 +0100 Message-ID: <20240620153526.2024602-2-jwakely@redhat.com> In-Reply-To: <20240620153526.2024602-1-jwakely@redhat.com> References: <20240620153526.2024602-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-10.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, RCVD_IN_SBL_CSS, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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. -- >8 -- These tests compile very slowly in debug mode. libstdc++-v3/ChangeLog: PR libstdc++/90276 * testsuite/25_algorithms/pstl/alg_modifying_operations/rotate_copy.cc: Increase timeout for debug mode. * testsuite/25_algorithms/pstl/alg_modifying_operations/transform_binary.cc: Likewise. * testsuite/25_algorithms/pstl/alg_nonmodifying/mismatch.cc: Likewise. * testsuite/25_algorithms/pstl/alg_sorting/lexicographical_compare.cc: Likewise. * testsuite/25_algorithms/pstl/alg_sorting/minmax_element.cc: Likewise. * testsuite/25_algorithms/pstl/alg_sorting/set_symmetric_difference.cc: Likewise. --- .../25_algorithms/pstl/alg_modifying_operations/rotate_copy.cc | 1 + .../pstl/alg_modifying_operations/transform_binary.cc | 1 + .../testsuite/25_algorithms/pstl/alg_nonmodifying/mismatch.cc | 1 + .../25_algorithms/pstl/alg_sorting/lexicographical_compare.cc | 1 + .../testsuite/25_algorithms/pstl/alg_sorting/minmax_element.cc | 1 + .../25_algorithms/pstl/alg_sorting/set_symmetric_difference.cc | 1 + 6 files changed, 6 insertions(+) diff --git a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_modifying_operations/rotate_copy.cc b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_modifying_operations/rotate_copy.cc index ea647c6c23a..1b788e1b7ee 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_modifying_operations/rotate_copy.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_modifying_operations/rotate_copy.cc @@ -2,6 +2,7 @@ // { dg-options "-ltbb" } // { dg-do run { target c++17 } } // { dg-timeout-factor 3 } +// { dg-timeout-factor 5 { target debug_mode } } // { dg-require-effective-target tbb_backend } //===-- rotate_copy.pass.cpp ----------------------------------------------===// diff --git a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_modifying_operations/transform_binary.cc b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_modifying_operations/transform_binary.cc index 1f5f239a94b..16b815c5d51 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_modifying_operations/transform_binary.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_modifying_operations/transform_binary.cc @@ -2,6 +2,7 @@ // { dg-options "-ltbb" } // { dg-do run { target c++17 } } // { dg-timeout-factor 3 } +// { dg-timeout-factor 5 { target debug_mode } } // { dg-require-effective-target tbb_backend } //===-- transform_binary.pass.cpp -----------------------------------------===// diff --git a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_nonmodifying/mismatch.cc b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_nonmodifying/mismatch.cc index 1173186f65c..441f5d1e378 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_nonmodifying/mismatch.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_nonmodifying/mismatch.cc @@ -2,6 +2,7 @@ // { dg-options "-ltbb" } // { dg-do run { target c++17 } } // { dg-timeout-factor 3 } +// { dg-timeout-factor 5 { target debug_mode } } // { dg-require-effective-target tbb_backend } //===-- mismatch.pass.cpp -------------------------------------------------===// diff --git a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/lexicographical_compare.cc b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/lexicographical_compare.cc index 924aa78652e..78edeb025d7 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/lexicographical_compare.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/lexicographical_compare.cc @@ -2,6 +2,7 @@ // { dg-options "-ltbb" } // { dg-do run { target c++17 } } // { dg-timeout-factor 3 } +// { dg-timeout-factor 5 { target debug_mode } } // { dg-require-effective-target tbb_backend } //===-- lexicographical_compare.pass.cpp ----------------------------------===// diff --git a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/minmax_element.cc b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/minmax_element.cc index 0a9f41ca179..e4bd435d192 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/minmax_element.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/minmax_element.cc @@ -2,6 +2,7 @@ // { dg-options "-ltbb" } // { dg-do run { target c++17 } } // { dg-timeout-factor 3 } +// { dg-timeout-factor 5 { target debug_mode } } // { dg-require-effective-target tbb_backend } //===-- minmax_element.pass.cpp -------------------------------------------===// diff --git a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/set_symmetric_difference.cc b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/set_symmetric_difference.cc index 1cc59856086..ad3befcb690 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/set_symmetric_difference.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pstl/alg_sorting/set_symmetric_difference.cc @@ -2,6 +2,7 @@ // { dg-options "-ltbb" } // { dg-do run { target c++17 } } // { dg-timeout-factor 3 } +// { dg-timeout-factor 5 { target debug_mode } } // { dg-require-effective-target tbb_backend } //===-- set.pass.cpp ------------------------------------------------------===//