public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-7783] libstdc++: Use dg-require-filesystem-ts in link test
@ 2023-09-08 17:13 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-09-08 17:13 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

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

commit r13-7783-gda112f7ff1c9ab50765fcb5769ffbb865b6581e0
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Aug 31 18:35:12 2023 +0100

    libstdc++: Use dg-require-filesystem-ts in link test
    
    This test expects to be able to link, which fails if there are undefined
    references to chdir, mkdir etc. in fs_ops.o in the libstdc++.a archive.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/27_io/filesystem/path/108636.cc: Add dg-require for
            filesystem support.
    
    (cherry picked from commit c07d82c12f2f17427a89188abad69af195590309)

Diff:
---
 libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc
index d58de461090d..73742df93b05 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc
@@ -1,5 +1,6 @@
 // { dg-do link { target c++17 } }
 // { dg-options "-fkeep-inline-functions" }
+// { dg-require-filesystem-ts "" }
 
 #include <filesystem>
 int main()

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

only message in thread, other threads:[~2023-09-08 17:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-08 17:13 [gcc r13-7783] libstdc++: Use dg-require-filesystem-ts in link test Jonathan Wakely

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