- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for coveragecfg (0.15 sec)
-
src/cmd/compile/internal/coverage/cover.go
if cm == coverage.CtrModeInvalid { base.Fatalf("bad setting %q for covermode in coveragecfg:", counterMode) } var cg coverage.CounterGranularity switch counterGran { case "perblock": cg = coverage.CtrGranularityPerBlock case "perfunc": cg = coverage.CtrGranularityPerFunc default: base.Fatalf("bad setting %q for covergranularity in coveragecfg:", counterGran) } cnames := names{ MetaVar: metavar,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0) -
src/cmd/cover/cfg_test.go
apkgfiles, false) t.Logf("outfiles: %+v\n", ofs) // Run the compiler on the files to make sure the result is // buildable. bargs := []string{"tool", "compile", "-p", "a", "-coveragecfg", outcfg} bargs = append(bargs, ofs...) cmd := testenv.Command(t, testenv.GoToolPath(t), bargs...) cmd.Dir = instdira run(cmd, t) } // Do some error testing to ensure that various bad options and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 12:51:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
defaultGcFlags = append(defaultGcFlags, "-goversion", ToolchainVersion) } if p.Internal.Cover.Cfg != "" { defaultGcFlags = append(defaultGcFlags, "-coveragecfg="+p.Internal.Cover.Cfg) } if pgoProfile != "" { defaultGcFlags = append(defaultGcFlags, "-pgoprofile="+pgoProfile) } if symabis != "" { defaultGcFlags = append(defaultGcFlags, "-symabis", symabis) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
} func (b *Builder) writeCoverPkgInputs(a *Action, pconfigfile string, covoutputsfile string, outfiles []string) error { sh := b.Shell(a) p := a.Package p.Internal.Cover.Cfg = a.Objdir + "coveragecfg" pcfg := covcmd.CoverPkgConfig{ PkgPath: p.ImportPath, PkgName: p.Name, // Note: coverage granularity is currently hard-wired to // 'perblock'; there isn't a way using "go build -cover" or "go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0)