mirror of
https://github.com/golang/go
synced 2024-11-19 01:44:40 -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 == "" {
|
||||
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{
|
||||
name: "cgo_fortran",
|
||||
heading: "../misc/cgo/fortran",
|
||||
|
Loading…
Reference in New Issue
Block a user