]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: skip Fortran tests on Android
authorElias Naur <mail@eliasnaur.com>
Tue, 26 Feb 2019 18:01:47 +0000 (19:01 +0100)
committerElias Naur <mail@eliasnaur.com>
Tue, 26 Feb 2019 18:21:15 +0000 (18:21 +0000)
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>

src/cmd/dist/test.go

index 31b44e8ef43a1851ce332dd1e2ab5fe417766fc5..6f2eee19df05b3fc77d23952f35ed4d17421bbe6 100644 (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",