Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for GOCOVERDIR (0.29 sec)

  1. src/cmd/go/testdata/script/cover_list.txt

    # m/example package. Build IDs from binaries are of the form X/Y/Z/W
    # where Y/Z is the package build ID; running the program below will
    # pick out the parts of the ID that we want.
    env GOCOVERDIR=$WORK
    exec $WORK/m.exe $WORK/rawtoolbuildid.txt
    cp stdout $WORK/toolbuildid.txt
    
    # Build IDs should match here.
    cmp $WORK/toolbuildid.txt $WORK/listbuildid.txt
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 22:47:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/covdata/doc.go

    from 2nd-generation coverage testing output files, those produced
    from running applications or integration tests. E.g.
    
    	$ mkdir ./profiledir
    	$ go build -cover -o myapp.exe .
    	$ GOCOVERDIR=./profiledir ./myapp.exe <arguments>
    	$ ls ./profiledir
    	covcounters.cce1b350af34b6d0fb59cc1725f0ee27.821598.1663006712821344241
    	covmeta.cce1b350af34b6d0fb59cc1725f0ee27
    	$
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 12:57:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/cmd/internal/cov/read_test.go

    		t.Fatalf("creating covdir: %v", err)
    	}
    	large := fmt.Sprintf("%07999d", 0)
    	cmd = testenv.Command(t, exepath, "1", "2", "3", large)
    	cmd.Dir = covdir
    	cmd.Env = append(os.Environ(), "GOCOVERDIR="+covdir)
    	b, err = cmd.CombinedOutput()
    	if err != nil {
    		t.Logf("## run output:\n%s", b)
    		t.Fatalf("build error: %v", err)
    	}
    
    	vis := &visitor{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:17 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/testing/testing.go

    	count = flag.Uint("test.count", 1, "run tests and benchmarks `n` times")
    	coverProfile = flag.String("test.coverprofile", "", "write a coverage profile to `file`")
    	gocoverdir = flag.String("test.gocoverdir", "", "write coverage intermediate files to this directory")
    	matchList = flag.String("test.list", "", "list tests, examples, and benchmarks matching `regexp` then exit")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/test/test.go

    				return err
    			}
    		}
    		// Even though we are passing the -test.gocoverdir option to
    		// the test binary, also set GOCOVERDIR as well. This is
    		// intended to help with tests that run "go build" to build
    		// fresh copies of tools to test as part of the testing.
    		addToEnv = "GOCOVERDIR=" + gcd
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/alldocs.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.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top