mirror of https://github.com/golang/go.git
cmd/link: make inlining+locationlist test depend on GOARCH
Location lists are only supported on x86 and amd64, so the test expecting them failed everywhere else. Make that test skip unless GOARCH is x86 or amd64. Change-Id: Id86b34d30c6a0b97e6fa0cd5aca31f51ed84f556 Reviewed-on: https://go-review.googlesource.com/84395 Run-TryBot: David Chase <drchase@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
eda703ac79
commit
a4dfb2e555
|
|
@ -758,6 +758,9 @@ func TestAbstractOriginSanityWithLocationLists(t *testing.T) {
|
|||
if runtime.GOOS == "plan9" {
|
||||
t.Skip("skipping on plan9; no DWARF symbol table in executables")
|
||||
}
|
||||
if runtime.GOARCH != "amd64" && runtime.GOARCH != "x86" {
|
||||
t.Skip("skipping on not-amd64 not-x86; location lists not supported")
|
||||
}
|
||||
|
||||
abstractOriginSanity(t, OptInl4DwLoc)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue