1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:10:21 -07:00

internal/traceparser: skip test on iOS

Change-Id: Ifc9581ba82a13f507c288282b517ebf8a5f93b4e
Reviewed-on: https://go-review.googlesource.com/c/148058
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
Elias Naur 2018-11-07 10:28:38 +01:00
parent c0a40e4fe5
commit ac277d9234

View File

@ -6,6 +6,7 @@ package traceparser
import (
"math"
"runtime"
"testing"
"time"
)
@ -75,6 +76,9 @@ func TestMMU(t *testing.T) {
}
func TestMMUTrace(t *testing.T) {
if runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") {
t.Skipf("files from outside the package are not available on %s/%s", runtime.GOOS, runtime.GOARCH)
}
// Can't be t.Parallel() because it modifies the
// testingOneBand package variable.