Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for debugdump (0.13 sec)

  1. src/cmd/covdata/dump.go

    	modulePath string
    
    	// Dump subcommand (ex: "textfmt", "debugdump", etc).
    	cmd string
    
    	// File to which we will write text format output, if enabled.
    	textfmtoutf *os.File
    
    	// Total and covered statements (used by "debugdump" subcommand).
    	totalStmts, coveredStmts int
    
    	// Records whether preamble has been emitted for current pkg
    	// (used when in "debugdump" mode)
    	preambleEmitted bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. 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)
  3. 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