1
0
mirror of https://github.com/golang/go synced 2024-11-24 02:20:18 -07:00

cmd/dist: skip Fortran tests on Android

They don't work on Android but will be run if the host has gfortran
installed.

Change-Id: I983c5695a9e963def90e4f8264fb00077a0c5e53
Reviewed-on: https://go-review.googlesource.com/c/163838
Run-TryBot: Elias Naur <mail@eliasnaur.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Elias Naur 2019-02-26 19:01:47 +01:00
parent 8cf1d1634a
commit 8ca559eed5

View File

@ -626,7 +626,7 @@ func (t *tester) registerTests() {
if fortran == "" {
fortran, _ = exec.LookPath("gfortran")
}
if t.hasBash() && fortran != "" {
if t.hasBash() && goos != "android" && fortran != "" {
t.tests = append(t.tests, distTest{
name: "cgo_fortran",
heading: "../misc/cgo/fortran",