MCPcopy Create free account
hub / github.com/google/pprof / skipUnlessLinuxAmd64

Function skipUnlessLinuxAmd64

internal/binutils/binutils_test.go:255–259  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

253}
254
255func skipUnlessLinuxAmd64(t *testing.T) {
256 if runtime.GOOS != "linux" || runtime.GOARCH != "amd64" {
257 t.Skip("This test only works on x86-64 Linux")
258 }
259}
260
261func skipUnlessDarwinAmd64(t *testing.T) {
262 if runtime.GOOS != "darwin" || runtime.GOARCH != "amd64" {

Callers 1

TestObjFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…