From: Alexandre Oliva Date: Wed, 22 Feb 2023 17:35:15 +0000 (-0300) Subject: [libstdc++] xfail noreplace tests on vxworks X-Git-Tag: upstream/13.1.0~963 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ff710857fd315770d71061e1a938324c1654d81;p=platform%2Fupstream%2Fgcc.git [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 --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 56ff2d7..2e99707 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 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 f0425cd..ddb7fd6 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