Commit 446e8778 by Richard Earnshaw Committed by Richard Earnshaw

* testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.

From-SVN: r88710
parent 5615e8cd
2004-10-07 Richard Earnshaw <rearnsha@arm.com>
* testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
2004-10-07 Roger Sayle <roger@eyesopen.com> 2004-10-07 Roger Sayle <roger@eyesopen.com>
PR libstdc++/17850 PR libstdc++/17850
......
...@@ -212,6 +212,15 @@ proc libstdc++_init { testfile } { ...@@ -212,6 +212,15 @@ proc libstdc++_init { testfile } {
libstdc++_maybe_build_wrapper "${objdir}/testglue.o" 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. # Callback from system dg-test.
proc libstdc++-dg-test { prog do_what extra_tool_flags } { proc libstdc++-dg-test { prog do_what extra_tool_flags } {
# Set up the compiler flags, based on what we're going to do. # Set up the compiler flags, based on what we're going to do.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment