mirror of
https://github.com/golang/go
synced 2024-11-24 04:30:14 -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:
parent
8cf1d1634a
commit
8ca559eed5
2
src/cmd/dist/test.go
vendored
2
src/cmd/dist/test.go
vendored
@ -626,7 +626,7 @@ func (t *tester) registerTests() {
|
|||||||
if fortran == "" {
|
if fortran == "" {
|
||||||
fortran, _ = exec.LookPath("gfortran")
|
fortran, _ = exec.LookPath("gfortran")
|
||||||
}
|
}
|
||||||
if t.hasBash() && fortran != "" {
|
if t.hasBash() && goos != "android" && fortran != "" {
|
||||||
t.tests = append(t.tests, distTest{
|
t.tests = append(t.tests, distTest{
|
||||||
name: "cgo_fortran",
|
name: "cgo_fortran",
|
||||||
heading: "../misc/cgo/fortran",
|
heading: "../misc/cgo/fortran",
|
||||||
|
Loading…
Reference in New Issue
Block a user