From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id A5543385780C; Tue, 17 May 2022 10:42:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A5543385780C MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-555] libstdc++: Skip tests that fail for the versioned namespace X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: 357d6fcd41e771128226b7916166f537b2d53a29 X-Git-Newrev: 1815462a6e53465c404f8a5f6116891492d4b50b Message-Id: <20220517104252.A5543385780C@sourceware.org> Date: Tue, 17 May 2022 10:42:52 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2022 10:42:52 -0000 https://gcc.gnu.org/g:1815462a6e53465c404f8a5f6116891492d4b50b commit r13-555-g1815462a6e53465c404f8a5f6116891492d4b50b Author: Jonathan Wakely 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. 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 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