aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-22 14:07:32 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-07-24 12:25:26 +0100
commitcee008380b85bd1cac9c8a5b64266388471ec026 (patch)
tree252e650df554cc1104cf6829f55ef5668f9057ae
parent171af3580de54d482c6a32fb249e96000a9e10b8 (diff)
downloadgcc-cee008380b85bd1cac9c8a5b64266388471ec026.zip
gcc-cee008380b85bd1cac9c8a5b64266388471ec026.tar.gz
gcc-cee008380b85bd1cac9c8a5b64266388471ec026.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++.exp5
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