proc: disabled TestUnsupportedArch on go1.7

See: https://github.com/golang/go/issues/16180
This commit is contained in:
aarzilli 2016-07-03 09:02:21 +02:00
parent 80336e57e0
commit da910cc3bd
4 changed files with 11 additions and 11 deletions

@ -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
}