+2002-10-29 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * lib/compat.exp (compat-execute): Don't clean out a gluefile.
+
2002-10-29 Mark Mitchell <mark@codesourcery.com>
PR c++/8287
global tool
global verbose
global testcase
+ global gluefile
# Use the dg-options mechanism to specify extra flags for this test.
# FIXME: This does not handle other uses of dg-options, and it only
# Clean up object files.
set files [glob -nocomplain *.o]
if { $files != "" } {
- eval "remote_file build delete $files"
+ foreach objfile $files {
+ if { [info exists gluefile] && $objfile != $gluefile } {
+ eval "remote_file build delete $objfile"
+ }
+ }
}
}
}