]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[libstdc++] xfail noreplace tests on vxworks
authorAlexandre Oliva <oliva@adacore.com>
Wed, 22 Feb 2023 17:35:15 +0000 (14:35 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 22 Feb 2023 17:35:15 +0000 (14:35 -0300)
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.

libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/noreplace.cc
libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc

index 56ff2d7cead3c36c4c362d777c5a2454b4d254f4..2e99707df86d0012b5e57f60168e6d8de5644007 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do run }
+// { dg-do run { xfail *-*-vxworks* } }
 
 #include <ios>
 
index f0425cdab3d23700a3232999409671acb8b8a4d4..ddb7fd691608c497f1852636c43dfbd3a73e0b3f 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do run }
+// { dg-do run { xfail *-*-vxworks* } }
 
 #include <version>