]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: delete temporary files when test finishes
authorMichael Munday <mike.munday@ibm.com>
Fri, 17 Nov 2017 10:01:06 +0000 (10:01 +0000)
committerMichael Munday <mike.munday@ibm.com>
Fri, 17 Nov 2017 21:35:43 +0000 (21:35 +0000)
commit644787c337f7fde20a0676f843bb12378c8f885e
tree82340b5adab68957a29761083a554b6084178d35
parent4e19cfcdf2ff316cc14357516c01f30722f19000
cmd/compile: delete temporary files when test finishes

I noticed some files prefixed with ssa_fg_tmp in the /tmp folder of
the s390x builder. runGenTest (a helper for TestGenFlowGraph) wasn't
deleting its temporary files. The distinct prefix made this easy to
figure out.

Change-Id: If0d608aaad04a414e74e29f027ec9443c626e4eb
Reviewed-on: https://go-review.googlesource.com/78475
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/ssa_test.go