mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 17:56:45 +08:00
proc: disabled TestUnsupportedArch on go1.7
See: https://github.com/golang/go/issues/16180
This commit is contained in:
@ -1847,7 +1847,7 @@ func TestIssue509(t *testing.T) {
|
||||
|
||||
func TestUnsupportedArch(t *testing.T) {
|
||||
ver, _ := ParseVersionString(runtime.Version())
|
||||
if ver.Major < 0 || !ver.AfterOrEqual(GoVersion{1, 6, -1, 0, 0}) {
|
||||
if ver.Major < 0 || !ver.AfterOrEqual(GoVersion{1, 6, -1, 0, 0}) || ver.AfterOrEqual(GoVersion{1, 7, -1, 0, 0}) {
|
||||
// cross compile (with -N?) works only on select versions of go
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user