mirror of
https://github.com/golang/go
synced 2024-11-19 02:54:42 -07:00
cmd/dist: make fortran test conditional on bash existence
Fixes #14929. Change-Id: I0391acf9f5f65389f73637533306a7c4240320b8 Reviewed-on: https://go-review.googlesource.com/21295 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
897dcdb5ec
commit
6b97dbf848
2
src/cmd/dist/test.go
vendored
2
src/cmd/dist/test.go
vendored
@ -445,7 +445,7 @@ func (t *tester) registerTests() {
|
|||||||
if fortran == "" {
|
if fortran == "" {
|
||||||
fortran, _ = exec.LookPath("gfortran")
|
fortran, _ = exec.LookPath("gfortran")
|
||||||
}
|
}
|
||||||
if fortran != "" && t.goos != "dragonfly" { // see golang.org/issue/14544
|
if t.hasBash() && fortran != "" && t.goos != "dragonfly" { // see golang.org/issue/14544
|
||||||
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