- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 311 for logf (0.25 sec)
-
src/runtime/debug/stack_test.go
// _testmain.go:71 +0x170 data, err := os.ReadFile(crashOutput) if err != nil { t.Fatalf("child process failed to write crash report: %v", err) } crash := string(data) t.Logf("crash = <<%s>>", crash) t.Logf("stderr = <<%s>>", stderr) // Check that the crash file and the stderr both contain the panic and stack trace. for _, want := range []string{ "panic: oops", "goroutine 1",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/test/framework/components/istioctl/kube.go
func (c *kubeComponent) InvokeOrFail(t test.Failer, args []string) (string, string) { output, stderr, err := c.Invoke(args) if err != nil { t.Logf("Unwanted exception for 'istioctl %s': %v", strings.Join(args, " "), err) t.Logf("Output:\n%v", output) t.Logf("Error:\n%v", stderr) t.FailNow() } return output, stderr
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 3.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/export_test.go
} func (d TestFrontend) Logf(msg string, args ...interface{}) { d.t.Logf(msg, args...) } func (d TestFrontend) Log() bool { return true } func (d TestFrontend) Fatalf(_ src.XPos, msg string, args ...interface{}) { d.t.Fatalf(msg, args...) } func (d TestFrontend) Warnl(_ src.XPos, msg string, args ...interface{}) { d.t.Logf(msg, args...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 3.2K bytes - Viewed (0) -
tests/integration/telemetry/tracing/tracing.go
t.Logf("got span %+v, want span %+v", got, want) return false } if len(got.ChildSpans) < len(want.ChildSpans) { t.Logf("got %d child spans from, want %d child spans, maybe trace has not be fully reported", len(got.ChildSpans), len(want.ChildSpans)) return false } else if len(got.ChildSpans) > len(want.ChildSpans) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 19:05:09 UTC 2024 - 6.5K bytes - Viewed (0) -
src/runtime/race/testdata/rangefunc_test.go
// therefore foo can early exit. func TestRaceRangeFuncIterator(t *testing.T) { x := foo(4) t.Logf("foo(4)=%d", x) } // TestNoRaceRangeFuncIterator does not race because x%5 is never 5, // therefore foo's loop will not exit early, and this it will not race. func TestNoRaceRangeFuncIterator(t *testing.T) { x := foo(5) t.Logf("foo(5)=%d", x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fmahash_test.go
cmd.Env = append(cmd.Env, "GOCOMPILEDEBUG=fmahash=1/0", "GOOS=linux", "GOARCH=arm64", "HOME="+tmpdir) t.Logf("%v", cmd) t.Logf("%v", cmd.Env) b, e := cmd.CombinedOutput() if e != nil { t.Errorf("build failed: %v\n%s", e, b) } s := string(b) // Looking for "GOFMAHASH triggered main.main:24"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 21:57:53 UTC 2024 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors_test.go
} } } func TestErrorUsefulMessage(t *testing.T) { { s := Invalid(nil, nil, "").Error() t.Logf("message: %v", s) if !strings.Contains(s, "null") { t.Errorf("error message did not contain 'null': %s", s) } } s := Invalid(NewPath("foo"), "bar", "deet").Error() t.Logf("message: %v", s) for _, part := range []string{"foo", "bar", "deet", ErrorTypeInvalid.String()} { if !strings.Contains(s, part) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 4.2K bytes - Viewed (0) -
src/cmd/objdump/objdump_test.go
args = append(args, flags...) args = append(args, srcfname) cmd := testenv.Command(t, testenv.GoToolPath(t), args...) // "Bad line" bug #36683 is sensitive to being run in the source directory. cmd.Dir = "testdata" t.Logf("Running %v", cmd.Args) out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("go build %s: %v\n%s", srcfname, err, out) } need := []string{ "TEXT main.main(SB)", } if printCode {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/apis/flowcontrol/internalbootstrap/defaults_test.go
defaulted := original.DeepCopyObject().(*flowcontrol.FlowSchema) scheme.Default(defaulted) if apiequality.Semantic.DeepEqual(original, defaulted) { t.Logf("Defaulting makes no change to FlowSchema: %q", original.Name) return } t.Errorf("Expected defaulting to not change FlowSchema: %q, diff: %s", original.Name, cmp.Diff(original, defaulted)) }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/errors_test.go
for _, re := range errors { found := false for _, line := range lines { if re.Match(line) { t.Logf("found match for %#q: %q", re, line) found = true break } } if !found { t.Errorf("expected error output to contain %#q", re) } } if t.Failed() { t.Logf("actual output:\n%s", out) } } func sizeofLongDouble(t *testing.T) int { testenv.MustHaveGoRun(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 4K bytes - Viewed (0)