- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GO_ADDR2LINETEST_IS_ADDR2LINE (0.28 sec)
-
src/cmd/addr2line/addr2line_test.go
"strings" "testing" ) // TestMain executes the test binary as the addr2line command if // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" { main() os.Exit(0) } os.Setenv("GO_ADDR2LINETEST_IS_ADDR2LINE", "1") // Set for subprocesses to inherit. os.Exit(m.Run()) }
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K bytes - Viewed (0)