public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5544] libstdc++: Fix dg-do directive for tests supposed to be run
@ 2021-11-26 15:14 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-11-26 15:14 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:0a12bd92d146b9b2a1d6615d83aa87a10a3088f8

commit r12-5544-g0a12bd92d146b9b2a1d6615d83aa87a10a3088f8
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Nov 26 13:58:07 2021 +0000

    libstdc++: Fix dg-do directive for tests supposed to be run
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/23_containers/unordered_map/modifiers/move_assign.cc:
            Change dg-do compile to run.
            * testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc:
            Likewise.

Diff:
---
 .../testsuite/23_containers/unordered_map/modifiers/move_assign.cc      | 2 +-
 .../27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc
index 2af50d8985e..cb0db867f62 100644
--- a/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc
+++ b/libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/move_assign.cc
@@ -1,4 +1,4 @@
-// { dg-do compile { target c++11 } }
+// { dg-do run { target c++11 } }
 
 // Copyright (C) 2020-2021 Free Software Foundation, Inc.
 //
diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc
index 6aec0e94482..a3da636317f 100644
--- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/lwg2499.cc
@@ -16,7 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++2a" }
-// { dg-do compile { target c++2a } }
+// { dg-do run { target c++2a } }
 
 // LWG 2499
 // operator>>(basic_istream&, CharT*) makes it hard to avoid buffer overflows


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

only message in thread, other threads:[~2021-11-26 15:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-26 15:14 [gcc r12-5544] libstdc++: Fix dg-do directive for tests supposed to be run 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).