Commit b5cdc3eb by Tom de Vries Committed by Tom de Vries

Add missing cleanup in pch-init

2015-02-26  Tom de Vries  <tom@codesourcery.com>

	* lib/dg-pch.exp (pch-init): Add missing cleanup of pchtest<n>.o.

From-SVN: r221009
parent c0680401
2015-02-26 Tom de Vries <tom@codesourcery.com> 2015-02-26 Tom de Vries <tom@codesourcery.com>
* lib/dg-pch.exp (pch-init): Add missing cleanup of pchtest<n>.o.
2015-02-26 Tom de Vries <tom@codesourcery.com>
* gcc.misc-tests/godump-1.c: Add missing cleanup of godump-1.out. * gcc.misc-tests/godump-1.c: Add missing cleanup of godump-1.out.
2015-02-26 Sebastian Pop <s.pop@samsung.com> 2015-02-26 Sebastian Pop <s.pop@samsung.com>
......
...@@ -30,15 +30,17 @@ proc pch-init { args } { ...@@ -30,15 +30,17 @@ proc pch-init { args } {
set pch_unsupported_debug \ set pch_unsupported_debug \
[regexp "debug format cannot be used with pre-compiled headers" \ [regexp "debug format cannot be used with pre-compiled headers" \
[lindex $result 0]] [lindex $result 0]]
remote_file build delete [lindex $result 1]
set pch_unsupported 0 set pch_unsupported 0
if { $pch_unsupported_debug } { if { $pch_unsupported_debug } {
verbose -log "pch is unsupported with the debug info format" verbose -log "pch is unsupported with the debug info format"
set result [check_compile pchtest object "int i;" "-x c-header"] set result [check_compile pchtest object "int i;" "-x c-header"]
set pch_unsupported \ set pch_unsupported \
[regexp "debug format cannot be used with pre-compiled headers" \ [regexp "debug format cannot be used with pre-compiled headers" \
[lindex $result 0]] [lindex $result 0]]
remote_file build delete [lindex $result 1]
} }
} }
......
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