mirror of https://github.com/golang/go.git
go/internal/gccgoimporter: skip obj importer test on AIX
Skip the obj importer 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. Updtes golang/go/#49445. Updates golang/go#29113. Change-Id: If75a452950a5dcad4afa18d973f3c94b6065f724 Reviewed-on: https://go-review.googlesource.com/c/tools/+/362434 Trust: Than McIntosh <thanm@google.com> Run-TryBot: Than McIntosh <thanm@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
a5321bfa33
commit
fafc446eff
|
|
@ -14,6 +14,7 @@ import (
|
|||
"os/exec"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"runtime"
|
||||
"strconv"
|
||||
"testing"
|
||||
)
|
||||
|
|
@ -132,6 +133,12 @@ func TestObjImporter(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")
|
||||
}
|
||||
|
||||
verout, err := exec.Command(gpath, "--version").CombinedOutput()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue