diff mbox

[committed] Add missing cleanup in go-gc-tests for cmpout

Message ID 54EF8BD3.30505@mentor.com
State New
Headers show

Commit Message

Tom de Vries Feb. 26, 2015, 9:10 p.m. UTC
Hi,

This patch gets rid of these non-interesting .exe files:
...
gcc/testsuite/go:
bug206.exe  bug409.exe  deferprint.exe  go.log.sep   go.sum      helloworld.exe 
  printbig.exe  site.exp
bug328.exe  cplx0.exe   go.log          goprint.exe  go.sum.sep  issue6899.exe 
  sigchld.exe   string.exe

gcc/testsuite/go1:
bug206.exe  bug328.exe  go.log.sep  goprint.exe  go.sum.sep  helloworld.exe 
issue6899.exe  sigchld.exe  site.exp
...

Committed as obvious.

Thanks,
- Tom
diff mbox

Patch

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

	* go.test/go-test.exp (go-gc-tests): Add missing cleanup for cmpout.

diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp
index bf5941d..50b2b5e 100644
--- a/gcc/testsuite/go.test/go-test.exp
+++ b/gcc/testsuite/go.test/go-test.exp
@@ -614,6 +614,7 @@  proc go-gc-tests { } {
 		    pass "$name execution"
 		    regsub "\\.go$" $test ".out" expect
 		    filecmp $expect $base.p "$name compare"
+		    file delete $output_file
 		}
 		file delete $base.p
 	    } else {
-- 
1.9.1