mirror of https://github.com/golang/go.git
go/internal/gccgoimporter: skip installation test on AIX
Skip the installation test when running on AIX. For this test to work properly on AIX, we need to port CL 152720 (or something like it) here from the main repo. Fixes golang/go/#49445. Updates golang/go#29113. Change-Id: Idf1f9d717aa835b80cffa4e3ab34ae578a809860 Reviewed-on: https://go-review.googlesource.com/c/tools/+/362248 gopls-CI: kokoro <noreply+kokoro@google.com> Trust: Than McIntosh <thanm@google.com> Run-TryBot: Than McIntosh <thanm@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
parent
0edd7b89b2
commit
a5321bfa33
|
|
@ -9,6 +9,7 @@ package gccgoimporter
|
|||
|
||||
import (
|
||||
"go/types"
|
||||
"runtime"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
@ -156,6 +157,12 @@ func TestInstallationImporter(t *testing.T) {
|
|||
if gpath == "" {
|
||||
t.Skip("This test needs gccgo")
|
||||
}
|
||||
if runtime.GOOS == "aix" {
|
||||
// We don't yet have a debug/xcoff package for reading
|
||||
// object files on AIX. Remove this skip if/when issue #29038
|
||||
// is implemented (see also issue #49445).
|
||||
t.Skip("no support yet for debug/xcoff")
|
||||
}
|
||||
|
||||
var inst GccgoInstallation
|
||||
err := inst.InitFromDriver(gpath)
|
||||
|
|
|
|||
Loading…
Reference in New Issue