Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for packPath (0.16 sec)

  1. src/cmd/pack/pack_test.go

    	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.
    func packPath(t testing.TB) string {
    	t.Helper()
    	testenv.MustHaveExec(t)
    
    	packPathOnce.Do(func() {
    		packExePath, packPathErr = os.Executable()
    	})
    	if packPathErr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 16:27:35 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top