From ac277d9234a89070a80dcbd03ef580566480fe42 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Wed, 7 Nov 2018 10:28:38 +0100 Subject: [PATCH] internal/traceparser: skip test on iOS Change-Id: Ifc9581ba82a13f507c288282b517ebf8a5f93b4e Reviewed-on: https://go-review.googlesource.com/c/148058 Run-TryBot: Elias Naur TryBot-Result: Gobot Gobot Reviewed-by: Hyang-Ah Hana Kim --- src/internal/traceparser/gc_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/internal/traceparser/gc_test.go b/src/internal/traceparser/gc_test.go index 1cd8fb6f78..0b07f735f8 100644 --- a/src/internal/traceparser/gc_test.go +++ b/src/internal/traceparser/gc_test.go @@ -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.