aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2004-10-07 22:00:29 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2004-10-07 22:00:29 +0000
commit446e8778259f7495567358b8d3d98ca7c910ab80 (patch)
treeb13756ec7189a321af5a1b7ae82044670c855693
parent5615e8cdcefe4c702cd8e79fccadf4bf1b9237f5 (diff)
downloadgcc-446e8778259f7495567358b8d3d98ca7c910ab80.zip
gcc-446e8778259f7495567358b8d3d98ca7c910ab80.tar.gz
gcc-446e8778259f7495567358b8d3d98ca7c910ab80.tar.bz2
* testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
From-SVN: r88710
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp9
2 files changed, 13 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index dd5eb2f..4ff8dcd 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-07 Richard Earnshaw <rearnsha@arm.com>
+
+ * testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
+
2004-10-07 Roger Sayle <roger@eyesopen.com>
PR libstdc++/17850
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 2e8db1f..6394307 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -212,6 +212,15 @@ proc libstdc++_init { testfile } {
libstdc++_maybe_build_wrapper "${objdir}/testglue.o"
}
+proc libstdc++_exit { } {
+ global gluefile;
+
+ if [info exists gluefile] {
+ file_on_build delete $gluefile;
+ unset gluefile;
+ }
+}
+
# Callback from system dg-test.
proc libstdc++-dg-test { prog do_what extra_tool_flags } {
# Set up the compiler flags, based on what we're going to do.