From: kortschak Date: Sun, 28 Feb 2016 04:25:29 +0000 (+1030) Subject: misc/cgo/fortran: clean up after successful helloworld.90 build X-Git-Tag: go1.7beta1~1659 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c86dbbe1b989a05381d2635c97566d3e7b06eb62;p=gostls13.git misc/cgo/fortran: clean up after successful helloworld.90 build Change-Id: If03185a21e088c9b383a82c14d649805f00c8042 Reviewed-on: https://go-review.googlesource.com/20000 Reviewed-by: Minux Ma --- diff --git a/misc/cgo/fortran/test.bash b/misc/cgo/fortran/test.bash index 9350dbe2d6..d397dcb682 100755 --- a/misc/cgo/fortran/test.bash +++ b/misc/cgo/fortran/test.bash @@ -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"