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

From-SVN: r88710
This commit is contained in:
Richard Earnshaw 2004-10-07 22:00:29 +00:00 committed by Richard Earnshaw
parent 5615e8cdce
commit 446e877825
2 changed files with 13 additions and 0 deletions

View file

@ -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

View file

@ -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.