public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc r13-6281] [libstdc++] xfail noreplace tests on vxworks
Date: Wed, 22 Feb 2023 17:39:32 +0000 (GMT)	[thread overview]
Message-ID: <20230222173932.9167A3858D3C@sourceware.org> (raw)

https://gcc.gnu.org/g:2ff710857fd315770d71061e1a938324c1654d81

commit r13-6281-g2ff710857fd315770d71061e1a938324c1654d81
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed Feb 22 14:35:15 2023 -0300

    [libstdc++] xfail noreplace tests on vxworks
    
    vxworks ignores O_EXCL in open, so noreplace open succeeds when it is
    expected to fail.  xfail the tests.
    
    
    for  libstdc++-v3/ChangeLog
    
            * testsuite/27_io/basic_ofstream/open/char/noreplace.cc: xfail
            on vxworks.
            * testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc    | 2 +-
 libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc
index 56ff2d7cead..2e99707df86 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc
@@ -1,4 +1,4 @@
-// { dg-do run }
+// { dg-do run { xfail *-*-vxworks* } }
 
 #include <ios>
 
diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc
index f0425cdab3d..ddb7fd69160 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc
@@ -1,4 +1,4 @@
-// { dg-do run }
+// { dg-do run { xfail *-*-vxworks* } }
 
 #include <version>

                 reply	other threads:[~2023-02-22 17:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230222173932.9167A3858D3C@sourceware.org \
    --to=aoliva@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    --cc=libstdc++-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).