public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail rename tests on rtems
@ 2022-06-23  8:39 Alexandre Oliva
  0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Oliva @ 2022-06-23  8:39 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:d62fd7c948448473792058dcdd025773ea1c9ac7

commit d62fd7c948448473792058dcdd025773ea1c9ac7
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Jun 23 04:12:22 2022 -0300

    libstdc++: xfail rename tests on rtems
    
    ::rename on RTEMS does not meet several POSIX requirements, despite
    compliance with C and C++ standards.  ::std::filesystem::rename, in
    turn, has requirements borrowed from POSIX, so it would have to be a
    lot more than a simple wrapper around ::rename on RTEMS, and even then
    fall short.
    
    Until RTEMS reimplements ::rename for POSIX compliance, expect
    filesystem rename tests to fail on it.
    
    
    for  libstdc++-v3/ChangeLog
    
            * testsuite/27_io/filesystem/operations/rename.cc: xfail on
            rtems.
            * testsuite/experimental/filesystem/operations/rename.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc        | 1 +
 libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
index e62204ab03f..07c46447a6c 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run { target c++17 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-if "::rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <filesystem>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
index 40b45699dff..61d9682e911 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
@@ -18,6 +18,7 @@
 // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-if "::rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <experimental/filesystem>
 #include <testsuite_hooks.h>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail rename tests on rtems
@ 2022-06-23 14:02 Alexandre Oliva
  0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Oliva @ 2022-06-23 14:02 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:8ec5051740b636c3cfd2b1925b771d12bbf49610

commit 8ec5051740b636c3cfd2b1925b771d12bbf49610
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Jun 23 04:12:22 2022 -0300

    libstdc++: xfail rename tests on rtems
    
    ::rename on RTEMS does not meet several POSIX requirements, despite
    compliance with C and C++ standards.  ::std::filesystem::rename, in
    turn, has requirements borrowed from POSIX, so it would have to be a
    lot more than a simple wrapper around ::rename on RTEMS, and even then
    fall short.
    
    Until RTEMS reimplements ::rename for POSIX compliance, expect
    filesystem rename tests to fail on it.
    
    
    for  libstdc++-v3/ChangeLog
    
            * testsuite/27_io/filesystem/operations/rename.cc: xfail on
            rtems.
            * testsuite/experimental/filesystem/operations/rename.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc        | 1 +
 libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
index b74e1133a76..983374f42e4 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run { target c++17 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-run-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <filesystem>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
index 37e743b770f..762b943888f 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
@@ -18,6 +18,7 @@
 // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-run-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <experimental/filesystem>
 #include <testsuite_hooks.h>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail rename tests on rtems
@ 2022-06-23 12:44 Alexandre Oliva
  0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Oliva @ 2022-06-23 12:44 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:82cdd58711ceba3f3c41a557bfcc8cf354115e83

commit 82cdd58711ceba3f3c41a557bfcc8cf354115e83
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Jun 23 04:12:22 2022 -0300

    libstdc++: xfail rename tests on rtems
    
    ::rename on RTEMS does not meet several POSIX requirements, despite
    compliance with C and C++ standards.  ::std::filesystem::rename, in
    turn, has requirements borrowed from POSIX, so it would have to be a
    lot more than a simple wrapper around ::rename on RTEMS, and even then
    fall short.
    
    Until RTEMS reimplements ::rename for POSIX compliance, expect
    filesystem rename tests to fail on it.
    
    
    for  libstdc++-v3/ChangeLog
    
            * testsuite/27_io/filesystem/operations/rename.cc: xfail on
            rtems.
            * testsuite/experimental/filesystem/operations/rename.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc        | 1 +
 libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
index b74e1133a76..983374f42e4 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run { target c++17 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-run-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <filesystem>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
index 37e743b770f..762b943888f 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
@@ -18,6 +18,7 @@
 // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-run-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <experimental/filesystem>
 #include <testsuite_hooks.h>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail rename tests on rtems
@ 2022-06-23 12:30 Alexandre Oliva
  0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Oliva @ 2022-06-23 12:30 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:d28a0c65f1a5bbff9e816c13a032bb93fe4e2b79

commit d28a0c65f1a5bbff9e816c13a032bb93fe4e2b79
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Jun 23 04:12:22 2022 -0300

    libstdc++: xfail rename tests on rtems
    
    ::rename on RTEMS does not meet several POSIX requirements, despite
    compliance with C and C++ standards.  ::std::filesystem::rename, in
    turn, has requirements borrowed from POSIX, so it would have to be a
    lot more than a simple wrapper around ::rename on RTEMS, and even then
    fall short.
    
    Until RTEMS reimplements ::rename for POSIX compliance, expect
    filesystem rename tests to fail on it.
    
    
    for  libstdc++-v3/ChangeLog
    
            * testsuite/27_io/filesystem/operations/rename.cc: xfail on
            rtems.
            * testsuite/experimental/filesystem/operations/rename.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc        | 1 +
 libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
index b74e1133a76..983374f42e4 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run { target c++17 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-run-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <filesystem>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
index 37e743b770f..762b943888f 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
@@ -18,6 +18,7 @@
 // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-run-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <experimental/filesystem>
 #include <testsuite_hooks.h>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail rename tests on rtems
@ 2022-06-23 12:22 Alexandre Oliva
  0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Oliva @ 2022-06-23 12:22 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:396e28070ad8bfa4cf38497915f365504b12437b

commit 396e28070ad8bfa4cf38497915f365504b12437b
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Jun 23 04:12:22 2022 -0300

    libstdc++: xfail rename tests on rtems
    
    ::rename on RTEMS does not meet several POSIX requirements, despite
    compliance with C and C++ standards.  ::std::filesystem::rename, in
    turn, has requirements borrowed from POSIX, so it would have to be a
    lot more than a simple wrapper around ::rename on RTEMS, and even then
    fall short.
    
    Until RTEMS reimplements ::rename for POSIX compliance, expect
    filesystem rename tests to fail on it.
    
    
    for  libstdc++-v3/ChangeLog
    
            * testsuite/27_io/filesystem/operations/rename.cc: xfail on
            rtems.
            * testsuite/experimental/filesystem/operations/rename.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc        | 1 +
 libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
index b74e1133a76..983374f42e4 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run { target c++17 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-run-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <filesystem>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
index 37e743b770f..762b943888f 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
@@ -18,6 +18,7 @@
 // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-run-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <experimental/filesystem>
 #include <testsuite_hooks.h>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail rename tests on rtems
@ 2022-06-23 12:06 Alexandre Oliva
  0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Oliva @ 2022-06-23 12:06 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:ea68fd776e25862b0674e2f6403d4708d125cb40

commit ea68fd776e25862b0674e2f6403d4708d125cb40
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Jun 23 04:12:22 2022 -0300

    libstdc++: xfail rename tests on rtems
    
    ::rename on RTEMS does not meet several POSIX requirements, despite
    compliance with C and C++ standards.  ::std::filesystem::rename, in
    turn, has requirements borrowed from POSIX, so it would have to be a
    lot more than a simple wrapper around ::rename on RTEMS, and even then
    fall short.
    
    Until RTEMS reimplements ::rename for POSIX compliance, expect
    filesystem rename tests to fail on it.
    
    
    for  libstdc++-v3/ChangeLog
    
            * testsuite/27_io/filesystem/operations/rename.cc: xfail on
            rtems.
            * testsuite/experimental/filesystem/operations/rename.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc        | 1 +
 libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
index b74e1133a76..983374f42e4 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run { target c++17 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-run-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <filesystem>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
index 37e743b770f..762b943888f 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
@@ -18,6 +18,7 @@
 // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-run-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <experimental/filesystem>
 #include <testsuite_hooks.h>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail rename tests on rtems
@ 2022-06-23 10:06 Alexandre Oliva
  0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Oliva @ 2022-06-23 10:06 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:cfae20f7ac87c1983bea0c712d30d8d14c50506c

commit cfae20f7ac87c1983bea0c712d30d8d14c50506c
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Jun 23 04:12:22 2022 -0300

    libstdc++: xfail rename tests on rtems
    
    ::rename on RTEMS does not meet several POSIX requirements, despite
    compliance with C and C++ standards.  ::std::filesystem::rename, in
    turn, has requirements borrowed from POSIX, so it would have to be a
    lot more than a simple wrapper around ::rename on RTEMS, and even then
    fall short.
    
    Until RTEMS reimplements ::rename for POSIX compliance, expect
    filesystem rename tests to fail on it.
    
    
    for  libstdc++-v3/ChangeLog
    
            * testsuite/27_io/filesystem/operations/rename.cc: xfail on
            rtems.
            * testsuite/experimental/filesystem/operations/rename.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc        | 1 +
 libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
index b74e1133a76..62543158e52 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run { target c++17 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <filesystem>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
index 37e743b770f..3c501757bff 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
@@ -18,6 +18,7 @@
 // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <experimental/filesystem>
 #include <testsuite_hooks.h>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail rename tests on rtems
@ 2022-06-23  9:02 Alexandre Oliva
  0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Oliva @ 2022-06-23  9:02 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

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

commit 0d2cfbb4cedb44227f6abfb41ac0401e93d33c3b
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Jun 23 04:12:22 2022 -0300

    libstdc++: xfail rename tests on rtems
    
    ::rename on RTEMS does not meet several POSIX requirements, despite
    compliance with C and C++ standards.  ::std::filesystem::rename, in
    turn, has requirements borrowed from POSIX, so it would have to be a
    lot more than a simple wrapper around ::rename on RTEMS, and even then
    fall short.
    
    Until RTEMS reimplements ::rename for POSIX compliance, expect
    filesystem rename tests to fail on it.
    
    
    for  libstdc++-v3/ChangeLog
    
            * testsuite/27_io/filesystem/operations/rename.cc: xfail on
            rtems.
            * testsuite/experimental/filesystem/operations/rename.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc        | 1 +
 libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
index e62204ab03f..6f9c57a9417 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run { target c++17 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <filesystem>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
index 40b45699dff..657e42cfea1 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
@@ -18,6 +18,7 @@
 // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-if "rename is not POSIX-compliant" { *-*-rtems* } }
 
 #include <experimental/filesystem>
 #include <testsuite_hooks.h>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail rename tests on rtems
@ 2022-06-23  7:15 Alexandre Oliva
  0 siblings, 0 replies; 9+ messages in thread
From: Alexandre Oliva @ 2022-06-23  7:15 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:1b9090d9b3b2bdcf3cd1dd8117d10d7f91b838d6

commit 1b9090d9b3b2bdcf3cd1dd8117d10d7f91b838d6
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Jun 23 04:12:22 2022 -0300

    libstdc++: xfail rename tests on rtems
    
    ::rename on RTEMS does not meet several POSIX requirements, despite
    compliance with C and C++ standards.  ::std::filesystem::rename, in
    turn, has requirements borrowed from POSIX, so it would have to be a
    lot more than a simple wrapper around ::rename on RTEMS, and even then
    fall short.
    
    Until RTEMS reimplements ::rename for POSIX compliance, expect
    filesystem rename tests to fail on it.
    
    
    for  libstdc++-v3/ChangeLog
    
            * testsuite/27_io/filesystem/operations/rename.cc: xfail on
            rtems.
            * testsuite/experimental/filesystem/operations/rename.cc:
            Likewise.

Diff:
---
 libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc        | 1 +
 libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
index e62204ab03f..00235347515 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/rename.cc
@@ -17,6 +17,7 @@
 
 // { dg-do run { target c++17 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-if "::rename is not POSIX-compliant" { target *-*-rtems* } }
 
 #include <filesystem>
 #include <testsuite_hooks.h>
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
index 40b45699dff..78601116100 100644
--- a/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
+++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/rename.cc
@@ -18,6 +18,7 @@
 // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
+// { dg-xfail-if "::rename is not POSIX-compliant" { target *-*-rtems* } }
 
 #include <experimental/filesystem>
 #include <testsuite_hooks.h>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-06-23 14:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23  8:39 [gcc(refs/users/aoliva/heads/testme)] libstdc++: xfail rename tests on rtems Alexandre Oliva
  -- strict thread matches above, loose matches on Subject: below --
2022-06-23 14:02 Alexandre Oliva
2022-06-23 12:44 Alexandre Oliva
2022-06-23 12:30 Alexandre Oliva
2022-06-23 12:22 Alexandre Oliva
2022-06-23 12:06 Alexandre Oliva
2022-06-23 10:06 Alexandre Oliva
2022-06-23  9:02 Alexandre Oliva
2022-06-23  7:15 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).