]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo/fortran: clean up after successful helloworld.90 build
authorkortschak <dan.kortschak@adelaide.edu.au>
Sun, 28 Feb 2016 04:25:29 +0000 (14:55 +1030)
committerMinux Ma <minux@golang.org>
Sun, 28 Feb 2016 04:30:41 +0000 (04:30 +0000)
Change-Id: If03185a21e088c9b383a82c14d649805f00c8042
Reviewed-on: https://go-review.googlesource.com/20000
Reviewed-by: Minux Ma <minux@golang.org>
misc/cgo/fortran/test.bash

index 9350dbe2d606658019f4909a75f9dcec45a8b930..d397dcb682b1a3dfb71e703de7b79cb4ca28927f 100755 (executable)
@@ -13,6 +13,7 @@ if ! $FC helloworld/helloworld.f90 -o main.exe >& /dev/null; then
   echo "skipping Fortran test: could not build helloworld.f90 with $FC"
   exit 0
 fi
+rm -f main.exe
 
 if ! go test; then
   echo "FAIL: go test"