summaryrefslogtreecommitdiff
path: root/libvtv
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2024-11-18 16:49:04 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2024-11-18 16:49:04 -0500
commitc9d21e19df2836b70365efbf759027b0f86a9b93 (patch)
tree4c3c684aa420581f8a77e1116efc684173a26077 /libvtv
parent344356f781ddb7bf0abb11edf9bdd13f6802dea8 (diff)
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 'libvtv')
-rw-r--r--libvtv/testsuite/lib/libvtv.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvtv/testsuite/lib/libvtv.exp b/libvtv/testsuite/lib/libvtv.exp
index 788a207e948..23c6270975b 100644
--- a/libvtv/testsuite/lib/libvtv.exp
+++ b/libvtv/testsuite/lib/libvtv.exp
@@ -48,6 +48,7 @@ load_gcc_lib scanwpaipa.exp
load_gcc_lib timeout-dg.exp
load_gcc_lib torture-options.exp
load_gcc_lib fortran-modules.exp
+load_gcc_lib dg-test-cleanup.exp
set dg-do-what-default run