mirror of
https://github.com/golang/go
synced 2024-11-17 04:14:52 -07:00
debug/pe: skip TestReadCOFFSymbolAuxInfo on big-endian systems
Disable the new TestReadCOFFSymbolAuxInfo testpoint on big endian systems, pending resolution of issue 52079. The newly added interfaces for reading symbol definition aux info is not working properly when reading PE objects obj big-endian systems. Updates #52079. Change-Id: I8d55c7e4c03fc6444ef06a6a8154cb50596ca58a Reviewed-on: https://go-review.googlesource.com/c/go/+/397294 Trust: Than McIntosh <thanm@google.com> Run-TryBot: Than McIntosh <thanm@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
b1e83c0513
commit
c5c66d78b2
@ -6,6 +6,7 @@ package pe
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"runtime"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@ -17,6 +18,13 @@ type testpoint struct {
|
||||
}
|
||||
|
||||
func TestReadCOFFSymbolAuxInfo(t *testing.T) {
|
||||
|
||||
switch runtime.GOARCH {
|
||||
case "mips", "mips64", "ppc64", "s390x":
|
||||
t.Skipf("Skipping on %s (big endian) until issue #52079 fixed",
|
||||
runtime.GOARCH)
|
||||
}
|
||||
|
||||
testpoints := map[int]testpoint{
|
||||
39: testpoint{
|
||||
name: ".rdata$.refptr.__native_startup_lock",
|
||||
|
Loading…
Reference in New Issue
Block a user