- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for debugdump (0.2 sec)
-
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) -
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) -
src/cmd/covdata/covdata.go
func output coverage profile information for each function merge merge data files together subtract subtract one set of data files from another set intersect generate intersection of two sets of data files debugdump dump data in human-readable format for debugging purposes `) fmt.Fprintf(os.Stderr, "\nFor help on a specific subcommand, try:\n") fmt.Fprintf(os.Stderr, "\ngo tool covdata <cmd> -help\n") Exit(2) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/covdata/doc.go
$ go tool covdata subtract -i=indir1,indir2 -o=outdir $ 7. Intersect profiles $ go tool covdata intersect -i=indir1,indir2 -o=outdir $ 8. Dump a profile for debugging purposes. $ go tool covdata debugdump -i=indir <human readable output> $ */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 12:57:25 UTC 2023 - 2K bytes - Viewed (0) -
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)