MCPcopy Create free account
hub / github.com/araddon/qlbridge / TestMain

Function TestMain

expr/parse_test.go:22–34  ·  view source on GitHub ↗
(m *testing.M)

Source from the content-addressed store, hash-verified

20)
21
22func TestMain(m *testing.M) {
23 flag.Parse()
24 if *VerboseTests {
25 u.SetupLogging("debug")
26 u.SetColorOutput()
27 }
28 builtins.LoadAllBuiltins()
29 if t := os.Getenv("trace"); t != "" {
30 expr.Trace = true
31 }
32 // Now run the actual Tests
33 os.Exit(m.Run())
34}
35
36type State struct{}
37

Callers

nothing calls this directly

Calls 2

LoadAllBuiltinsFunction · 0.92
RunMethod · 0.65

Tested by

no test coverage detected