public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-8422] libstdc++: Skip tests that fail for the versioned namespace
@ 2022-05-27 17:33 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-05-27 17:33 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:bcb39ac6438c0f96bf96a21abcb028afd366770e

commit r12-8422-gbcb39ac6438c0f96bf96a21abcb028afd366770e
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue May 17 09:32:36 2022 +0100

    libstdc++: Skip tests that fail for the versioned namespace
    
    Most tests for the contents of header synopses need to be supressed for
    the versioned namespace build, because redeclaring the entities in std
    fails when they were originally declared in std::__8.
    
    I added these tests recently without the suppression, so they fail.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/20_util/expected/synopsis.cc: Skip for versioned
            namespace.
            * testsuite/27_io/headers/iosfwd/synopsis.cc: Likewise.
    
    (cherry picked from commit 1815462a6e53465c404f8a5f6116891492d4b50b)

Diff:
---
 libstdc++-v3/testsuite/20_util/expected/synopsis.cc     | 1 +
 libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/20_util/expected/synopsis.cc b/libstdc++-v3/testsuite/20_util/expected/synopsis.cc
index 304bae93ebd..3a7eef3eee4 100644
--- a/libstdc++-v3/testsuite/20_util/expected/synopsis.cc
+++ b/libstdc++-v3/testsuite/20_util/expected/synopsis.cc
@@ -1,5 +1,6 @@
 // { dg-options "-std=gnu++23" }
 // { dg-do compile { target c++23 } }
+// { dg-require-normal-namespace "" }
 
 #include <expected>
 
diff --git a/libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc b/libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc
index 467d63609bd..b6d3fa7a719 100644
--- a/libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc
+++ b/libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc
@@ -1,4 +1,5 @@
 // { dg-do compile }
+// { dg-require-normal-namespace "" }
 
 #include <iosfwd>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-27 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-27 17:33 [gcc r12-8422] libstdc++: Skip tests that fail for the versioned namespace Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).