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"