Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for debugdump (0.34 sec)

  1. src/cmd/covdata/tool_test.go

    }
    
    // runDumpChecks examines the output of "go tool covdata debugdump"
    // for a given output directory, looking for the presence or absence
    // of specific markers.
    func runDumpChecks(t *testing.T, s state, dir string, flags []string, checks []dumpCheck) {
    	dargs := []string{"-i", dir}
    	dargs = append(dargs, flags...)
    	lines := runToolOp(t, s, "debugdump", dargs)
    	if len(lines) == 0 {
    		t.Fatalf("dump run produced no output")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/emitdata_test.go

    	//t.Logf("harness run output: %s\n", string(b))
    	return string(b), err
    }
    
    func testForSpecificFunctions(t *testing.T, dir string, want []string, avoid []string) string {
    	args := []string{"tool", "covdata", "debugdump",
    		"-live", "-pkg=command-line-arguments", "-i=" + dir}
    	t.Logf("running: go %v\n", args)
    	cmd := exec.Command(testenv.GoToolPath(t), args...)
    	b, err := cmd.CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top