From patchwork Thu Jul 4 13:24:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 1956887 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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 4WFHT11tq3z1xpP for ; Thu, 4 Jul 2024 23:25:24 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 630AC384A478 for ; Thu, 4 Jul 2024 13:25:22 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dellerweb.de (dellerweb.de [173.249.48.176]) by sourceware.org (Postfix) with ESMTPS id 2D8CE384A45A; Thu, 4 Jul 2024 13:24:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2D8CE384A45A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=mx3210.local Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=parisc-linux.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2D8CE384A45A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=173.249.48.176 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720099498; cv=none; b=Cvze/h5ZyVBL2jF0zi86J0BMAkPyBVNrkZD63SRe6d1PLb8At8ioNFSTQ7fKAXhW/cSQmJJ5cpFBujWg4AVjO+DtjGfT2TX2jw1F+Q05afGnnLA1223tlHpBG6ONC0Dt5Mz8Zji6fbmTzWeFADfUOHlQwlWzCAZKDC46BlAiLcA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720099498; c=relaxed/simple; bh=jT5KJz9vrQ8AlWLRFmRNumV6xfxPQcWU514JME9+XSo=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=Oj+U+hduuQBcl6so1lZGAOOCfmZ6Xqi6XyemPmk7NsvxJhj9djSRvcZcHqgN0TzpsvWAV56e3ik4eOpKO1j/ClKbLHe+kZEbunF1nooe5uBz7B/8AsLjE9i4Q5RfNMxYmt8bbyi3JSKDLT/73w4nQksU1SAgHA/qB/4VuWpgo8U= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [174.88.98.220]) by dellerweb.de (Postfix) with ESMTPSA id 03276160021C; Thu, 4 Jul 2024 15:24:55 +0200 (CEST) Received: by mx3210.localdomain (Postfix, from userid 1000) id 31D25D60168; Thu, 4 Jul 2024 09:24:53 -0400 (EDT) Date: Thu, 4 Jul 2024 09:24:52 -0400 From: John David Anglin To: GCC Patches Cc: libstdc++@gcc.gnu.org Subject: [committed] libstdc++-v3: Skip 30_threads/future/members/poll.cc on hppa*-*-linux* Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_ADSP_NXDOMAIN, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP 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~incoming=patchwork.ozlabs.org@gcc.gnu.org Fixes test fail on hppa*-*-linux*. Committed to trunk. Dave --- Skip 30_threads/future/members/poll.cc on hppa*-*-linux* hppa*-*-linux* lacks high resolution timer support. Timer resolution ranges from 1 to 10ms. As a result, a large number of iterations are needed for the wait_for_0 and ready loops. This causes the wait_until_sys_epoch and wait_until_steady_epoch loops to timeout. There the loop wait time is determined by the timer resolution. 2024-07-04 John David Anglin libstdc++-v3/ChangeLog: PR libstdc++/98678 * testsuite/30_threads/future/members/poll.cc: Skip on hppa*-*-linux*. diff --git a/libstdc++-v3/testsuite/30_threads/future/members/poll.cc b/libstdc++-v3/testsuite/30_threads/future/members/poll.cc index 4fa282bd87f..2bdbe7a48ce 100644 --- a/libstdc++-v3/testsuite/30_threads/future/members/poll.cc +++ b/libstdc++-v3/testsuite/30_threads/future/members/poll.cc @@ -19,6 +19,7 @@ // { dg-do run { target c++11 } } // { dg-additional-options "-pthread" { target pthread } } // { dg-require-gthreads "" } +// { dg-skip-if "no high resolution timer support" { hppa*-*-linux* } } #include #include