* gcc.dg/pch/pch.exp: Delete $bname.h before copying into it.
* g++.dg/pch/pch.exp: Likewise.
From-SVN: r63047
+2003-02-18 Geoffrey Keating <geoffk@apple.com>
+
+ * gcc.dg/pch/pch.exp: Delete $bname.h before copying into it.
+ * g++.dg/pch/pch.exp: Likewise.
+
2003-02-18 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/20030209-1.c: Enable the test if
set bname "[file rootname [file tail $test]]"
catch { file delete "$bname.H.pch" }
- catch { file delete "$bname.H" }
catch { file delete "$bname.s" }
catch { file delete "$bname.s-pch" }
# For the header files, the default is to precompile.
set dg-do-what-default precompile
+ catch { file delete "$bname.H" }
file copy "[file rootname $test].Hs" "$bname.H"
dg-test -keep-output "$bname.H" $flags ""
set bname "[file rootname [file tail $test]]"
catch { file delete "$bname.h.pch" }
- catch { file delete "$bname.h" }
catch { file delete "$bname.s" }
catch { file delete "$bname.s-pch" }
# For the header files, the default is to precompile.
set dg-do-what-default precompile
+ catch { file delete "$bname.h" }
file copy "[file rootname $test].hs" "$bname.h"
dg-test -keep-output "$bname.h" $flags ""