From patchwork Wed Oct 23 12:11:47 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Patchwork-Submitter: Jonathan Wakely
X-Patchwork-Id: 2001023
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=JZYvW4zb;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org
(client-ip=8.43.85.97; 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 [8.43.85.97])
(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 4XYScf6krSz1xtp
for ; Wed, 23 Oct 2024 23:13:22 +1100 (AEDT)
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id EA7B83858C51
for ; Wed, 23 Oct 2024 12:13:20 +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.129.124])
by sourceware.org (Postfix) with ESMTP id BBE493858D28
for ; Wed, 23 Oct 2024 12:12:53 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BBE493858D28
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 BBE493858D28
Authentication-Results: server2.sourceware.org;
arc=none smtp.remote-ip=170.10.129.124
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729685581; cv=none;
b=ErGs13L81je9oiQXxf53zjLm42NnA54q8Q8FNrezNGQafHTnLRvBJnsQp2UJF2o1VrnZxwJIWhdGnpoRpP9bSMrQEIrlRCDysbpvIi61IUVuH2sgslKWBb8HaUsQR3NqZ8gmgDeMfkWwwd3kKf2IFN1kVn/MEPAtcZkTwNH6yIc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1729685581; c=relaxed/simple;
bh=Q+60skmh6vBZUUMFJPTVK0+T0546od/qPG0tjdUVEqo=;
h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
b=OxpySCbxdHErRj8JGAbZRED8RqMkjI5vLk3fZIVTRjL8Ndiv89iSuMNDgGmAXfSranr1F2blUXYmvK+eyFen0pnI5+8Wb5fT+GUpsnfWwkwx6Qqu/g/Pk275KuK9dPp9j1JwczxR7aqvpzwKYl0chyox+RHm8Uba8MbvW4dTNGQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1729685573;
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=4H+b3Rx5cfyuHTkirdY2xIpxhVf/YQkhIaTZnS1HmRs=;
b=JZYvW4zbiPD7GKwqFof0YrAau0jQAGpgZ+/z0LFUh5VdWYyAdjDoOsvNSKzCc0GXbMpmZN
GJd449TQUvO4BVZt6REeKULxbcDRymQ+v6ucltRrImbWs+xOatY7TEMyjuDdQC4t4kstR+
2tERaU/D+tcVBhX2Rmp0CcW9P3OXZWc=
Received: from mx-prod-mc-04.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-665-Vat7gmDaO729bkn7zE9Suw-1; Wed,
23 Oct 2024 08:12:50 -0400
X-MC-Unique: Vat7gmDaO729bkn7zE9Suw-1
Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com
(mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15])
(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-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS
id 6436F19560AF; Wed, 23 Oct 2024 12:12:49 +0000 (UTC)
Received: from localhost (unknown [10.42.28.5])
by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP
id ECB8C1956088; Wed, 23 Oct 2024 12:12:46 +0000 (UTC)
From: Jonathan Wakely
To: libstdc++@gcc.gnu.org,
gcc-patches@gcc.gnu.org
Subject: [PATCH] libstdc++: Add GLIBCXX_TESTSUITE_STDS example to docs
Date: Wed, 23 Oct 2024 13:11:47 +0100
Message-ID: <20241023121245.1161348-1-jwakely@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0,
PP_MIME_FAKE_ASCII_TEXT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE,
SPF_NONE, 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
libstdc++-v3/ChangeLog:
* doc/xml/manual/test.xml: Add GLIBCXX_TESTSUITE_STDS example.
* doc/html/manual/test.html: Regenerate.
---
This patch is also available as a pull request in the forge:
https://forge.sourceware.org/gcc/gcc-TEST/pulls/1
libstdc++-v3/doc/html/manual/test.html | 5 +++--
libstdc++-v3/doc/xml/manual/test.xml | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/libstdc++-v3/doc/html/manual/test.html b/libstdc++-v3/doc/html/manual/test.html
index 3657997fad4..1c7af1193da 100644
--- a/libstdc++-v3/doc/html/manual/test.html
+++ b/libstdc++-v3/doc/html/manual/test.html
@@ -352,12 +352,13 @@ cat 27_io/objects/char/3_xin.in | a.out
-std, similar to the G++ tests.
Adding set v3_std_list { 11 17 23 } to
- ~/.dejagnurc or a file named by the
+ ~/.dejagnurc or to a file named by the
DEJAGNU environment variable will cause every test to
be run three times, using a different -std each time.
Alternatively, a list of standard versions to test with can be specified
as a comma-separated list in the GLIBCXX_TESTSUITE_STDS
- environment variable.
+ environment variable, e.g. GLIBCXX_TESTSUITE_STDS=11,17,23
+ is equivalent to the v3_std_list value above.
To run the libstdc++ test suite under the
debug mode, use
diff --git a/libstdc++-v3/doc/xml/manual/test.xml b/libstdc++-v3/doc/xml/manual/test.xml
index 40926946fe7..6b7f1b04a2a 100644
--- a/libstdc++-v3/doc/xml/manual/test.xml
+++ b/libstdc++-v3/doc/xml/manual/test.xml
@@ -600,12 +600,13 @@ cat 27_io/objects/char/3_xin.in | a.out
Since GCC 14, the libstdc++ testsuite has built-in support for running
tests with more than one , similar to the G++ tests.
Adding set v3_std_list { 11 17 23 } to
- ~/.dejagnurc or a file named by the
+ ~/.dejagnurc or to a file named by the
DEJAGNU environment variable will cause every test to
be run three times, using a different each time.
Alternatively, a list of standard versions to test with can be specified
as a comma-separated list in the GLIBCXX_TESTSUITE_STDS
- environment variable.
+ environment variable, e.g. GLIBCXX_TESTSUITE_STDS=11,17,23
+ is equivalent to the v3_std_list value above.