From b5cdc3eb1d02e216a6374d6d27f9702945834a05 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 26 Feb 2015 14:15:29 +0000 Subject: [PATCH] Add missing cleanup in pch-init 2015-02-26 Tom de Vries * lib/dg-pch.exp (pch-init): Add missing cleanup of pchtest.o. From-SVN: r221009 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/lib/dg-pch.exp | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 40e000ff9ff..b95443fcd5b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-02-26 Tom de Vries + + * lib/dg-pch.exp (pch-init): Add missing cleanup of pchtest.o. + 2015-02-26 Tom de Vries * gcc.misc-tests/godump-1.c: Add missing cleanup of godump-1.out. diff --git a/gcc/testsuite/lib/dg-pch.exp b/gcc/testsuite/lib/dg-pch.exp index e25030140db..9b4f40bf334 100644 --- a/gcc/testsuite/lib/dg-pch.exp +++ b/gcc/testsuite/lib/dg-pch.exp @@ -30,15 +30,17 @@ proc pch-init { args } { set pch_unsupported_debug \ [regexp "debug format cannot be used with pre-compiled headers" \ [lindex $result 0]] + remote_file build delete [lindex $result 1] set pch_unsupported 0 if { $pch_unsupported_debug } { verbose -log "pch is unsupported with the debug info format" set result [check_compile pchtest object "int i;" "-x c-header"] - set pch_unsupported \ - [regexp "debug format cannot be used with pre-compiled headers" \ - [lindex $result 0]] + set pch_unsupported \ + [regexp "debug format cannot be used with pre-compiled headers" \ + [lindex $result 0]] + remote_file build delete [lindex $result 1] } } -- 2.30.2