MCPcopy Create free account
hub / github.com/maruel/panicparse / TestMain

Function TestMain

stack/stack_test.go:580–586  ·  view source on GitHub ↗

TestMain manages a temporary directory to build on first use ../cmd/panic and clean up at the end.

(m *testing.M)

Source from the content-addressed store, hash-verified

578// TestMain manages a temporary directory to build on first use ../cmd/panic
579// and clean up at the end.
580func TestMain(m *testing.M) {
581 flag.Parse()
582 if !testing.Verbose() {
583 log.SetOutput(io.Discard)
584 }
585 os.Exit(m.Run())
586}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…