diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-11-18 16:49:04 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-11-18 16:49:04 -0500 |
commit | c9d21e19df2836b70365efbf759027b0f86a9b93 (patch) | |
tree | 4c3c684aa420581f8a77e1116efc684173a26077 /libstdc++-v3/testsuite | |
parent | 344356f781ddb7bf0abb11edf9bdd13f6802dea8 (diff) | |
download | gcc-c9d21e19df2836b70365efbf759027b0f86a9b93.zip gcc-c9d21e19df2836b70365efbf759027b0f86a9b93.tar.gz gcc-c9d21e19df2836b70365efbf759027b0f86a9b93.tar.bz2 |
testsuite: move dg-test cleanup code from gcc-dg.exp to its own file
I need to use this cleanup logic for the testsuite for libdiagnostics
where it's too awkward to directly use gcc-dg.exp itself.
No functional change intended.
gcc/testsuite/ChangeLog:
* lib/dg-test-cleanup.exp: New file, from material moved from
lib/gcc-dg.exp.
* lib/gcc-dg.exp: Add load_lib of dg-test-cleanup.exp.
(cleanup-after-saved-dg-test): Move to lib/dg-test-cleanup.exp.
(dg-test): Likewise for override.
(initialize_prune_notes): Likewise.
libatomic/ChangeLog:
* testsuite/lib/libatomic.exp: Add
"load_gcc_lib dg-test-cleanup.exp".
libgomp/ChangeLog:
* testsuite/lib/libgomp.exp: Add
"load_gcc_lib dg-test-cleanup.exp".
libitm/ChangeLog:
* testsuite/lib/libitm.exp: Add
"load_gcc_lib dg-test-cleanup.exp".
libphobos/ChangeLog:
* testsuite/lib/libphobos-dg.exp: Add
"load_gcc_lib dg-test-cleanup.exp".
libstdc++-v3/ChangeLog:
* testsuite/lib/libstdc++.exp: Add
"load_gcc_lib dg-test-cleanup.exp".
libvtv/ChangeLog:
* testsuite/lib/libvtv.exp: Add
"load_gcc_lib dg-test-cleanup.exp".
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 2510c7f..161e950 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -73,6 +73,7 @@ load_gcc_lib timeout.exp load_gcc_lib timeout-dg.exp load_gcc_lib wrapper.exp load_gcc_lib target-utils.exp +load_gcc_lib dg-test-cleanup.exp # Useful for debugging. Pass the name of a variable and the verbosity # threshold (number of -v's on the command line). |