Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GOCOVERDIR (0.54 sec)

  1. src/internal/coverage/cfile/emitdata_test.go

    // gocoverdir.
    func upmergeCoverData(t *testing.T, gocoverdir string, mode string) {
    	if testing.CoverMode() != mode {
    		return
    	}
    	testGoCoverDir := os.Getenv("GOCOVERDIR")
    	if testGoCoverDir == "" {
    		return
    	}
    	args := []string{"tool", "covdata", "merge", "-pkg=runtime/coverage",
    		"-o", testGoCoverDir, "-i", gocoverdir}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/emit.go

    	}
    	if len(ml) == 0 {
    		fmt.Fprintf(os.Stderr, "program not built with -cover\n")
    		return
    	}
    
    	goCoverDir = os.Getenv("GOCOVERDIR")
    	if goCoverDir == "" {
    		fmt.Fprintf(os.Stderr, "warning: GOCOVERDIR not set, no coverage data emitted\n")
    		return
    	}
    
    	if err := emitMetaDataToDirectory(goCoverDir, ml); err != nil {
    		fmt.Fprintf(os.Stderr, "error: coverage meta-data emit failed: %v\n", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/go/script_test.go

    		homeEnvName() + "=/no-home",
    		"CCACHE_DISABLE=1", // ccache breaks with non-existent HOME
    		"GOARCH=" + runtime.GOARCH,
    		"TESTGO_GOHOSTARCH=" + goHostArch,
    		"GOCACHE=" + testGOCACHE,
    		"GOCOVERDIR=" + os.Getenv("GOCOVERDIR"),
    		"GODEBUG=" + os.Getenv("GODEBUG"),
    		"GOEXE=" + cfg.ExeSuffix,
    		"GOEXPERIMENT=" + os.Getenv("GOEXPERIMENT"),
    		"GOOS=" + runtime.GOOS,
    		"TESTGO_GOHOSTOS=" + goHostOS,
    		"GOPROXY=" + proxyURL,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/cmd/covdata/tool_test.go

    			}
    			for i := 0; i <= k; i++ {
    				exepath := s.exepath1
    				if m != 0 {
    					exepath = s.exepath3
    				}
    				cmd := testenv.Command(t, exepath, args...)
    				cmd.Env = append(cmd.Env, "GOCOVERDIR="+s.outdirs[m*2+k])
    				b, err := cmd.CombinedOutput()
    				if len(b) != 0 {
    					t.Logf("## instrumented run output:\n%s", b)
    				}
    				if err != nil {
    					t.Fatalf("instrumented run error: %v", err)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/help/helpdoc.go

    	GOWASM
    		For GOARCH=wasm, comma-separated list of experimental WebAssembly features to use.
    		Valid values are satconv, signext.
    
    Environment variables for use with code coverage:
    
    	GOCOVERDIR
    		Directory into which to write code coverage data files
    		generated by running a "go build -cover" binary.
    		Requires that GOEXPERIMENT=coverageredesign is enabled.
    
    Special-purpose environment variables:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top