Commit 8ca559ee authored by Elias Naur's avatar Elias Naur

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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 8cf1d163
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment