diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-07-22 14:07:32 +0100 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2024-07-28 19:05:50 +0200 |
commit | 64789c1b0d105ed73c3deecc6da0935042c15a7c (patch) | |
tree | 92ee9763733aa0b7f29b8beec08a250793789073 | |
parent | 6aec3ce1386d21e20b759efe28c09c4c8d8dbd28 (diff) | |
download | gcc-64789c1b0d105ed73c3deecc6da0935042c15a7c.zip gcc-64789c1b0d105ed73c3deecc6da0935042c15a7c.tar.gz gcc-64789c1b0d105ed73c3deecc6da0935042c15a7c.tar.bz2 |
libstdc++: Stop copying all data files into test directory
This removes the TODO in libstdc++_init, so that we don't copy all *.tst
and *.txt files from testsuite/data into every test's working directory.
Instead, only the necessary files declared with dg-additional-files are
copied.
libstdc++-v3/ChangeLog:
* testsuite/lib/libstdc++.exp (libstdc++_init): Do not copy all
data files into test directory.
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index ef51194..4bf88e7 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -158,11 +158,6 @@ proc libstdc++_init { testfile } { global dg-do-what-default set dg-do-what-default run - # Copy all required data files. - # TODO: Use dg-additional-files in individual tests instead of doing this. - v3-copy-files [glob -nocomplain "$srcdir/data/*.tst"] - v3-copy-files [glob -nocomplain "$srcdir/data/*.txt"] - set ld_library_path_tmp "" # Locate libgcc.a so we don't need to account for different values of |