- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GO_PACKTEST_IS_PACK (0.15 sec)
-
src/cmd/pack/pack_test.go
"strings" "sync" "testing" "time" ) // TestMain executes the test binary as the pack command if // GO_PACKTEST_IS_PACK is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_PACKTEST_IS_PACK") != "" { main() os.Exit(0) } os.Setenv("GO_PACKTEST_IS_PACK", "1") // Set for subprocesses to inherit. os.Exit(m.Run()) } // packPath returns the path to the "pack" binary to run.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 16:27:35 UTC 2023 - 12.5K bytes - Viewed (0)