This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]