public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6281] [libstdc++] xfail noreplace tests on vxworks
@ 2023-02-22 17:39 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2023-02-22 17:39 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

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>

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

only message in thread, other threads:[~2023-02-22 17:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22 17:39 [gcc r13-6281] [libstdc++] xfail noreplace tests on vxworks Alexandre Oliva

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).