Home | History | Annotate | Download | only in runtime

Lines Matching refs:got

35 	got := runTestProg(t, "testprogcgo", "CgoSignalDeadlock")
37 if got != want {
38 t.Fatalf("expected %q, but got:\n%s", want, got)
44 got := runTestProg(t, "testprogcgo", "CgoTraceback")
46 if got != want {
47 t.Fatalf("expected %q, but got:\n%s", want, got)
67 got := runTestProg(t, "testprogcgo", "CgoCallbackGC")
69 if got != want {
70 t.Fatalf("expected %q, but got:\n%s", want, got)
79 got := runTestProg(t, "testprogcgo", "CgoExternalThreadPanic")
81 if !strings.Contains(got, want) {
82 t.Fatalf("want failure containing %q. output:\n%s\n", want, got)
117 got, err := testenv.CleanCmdEnv(exec.Command(exe, "CgoExternalThreadSIGPROF")).CombinedOutput()
119 t.Fatalf("exit status: %v\n%s", err, got)
122 if want := "OK\n"; string(got) != want {
123 t.Fatalf("expected %q, but got:\n%s", want, got)
140 got, err := testenv.CleanCmdEnv(exec.Command(exe, "CgoExternalThreadSIGPROF")).CombinedOutput()
142 t.Fatalf("exit status: %v\n%s", err, got)
146 if !bytes.Equal(got, want) {
147 t.Fatalf("expected %q, but got:\n%s", want, got)
156 got := runTestProg(t, "testprogcgo", "CgoDLLImportsMain")
158 if got != want {
159 t.Fatalf("expected %q, but got %v", want, got)
170 got := runTestProg(t, "testprogcgo", "CgoExecSignalMask")
172 if got != want {
173 t.Errorf("expected %q, got %v", want, got)
184 got := runTestProg(t, "testprogcgo", "EnsureDropM")
186 if got != want {
187 t.Errorf("expected %q, got %v", want, got)
231 t.Errorf("cgo check too slow: got %v, expected at most %v", tot2/tries, (tot1/tries)*20)
237 got := runTestProg(t, "testprogcgo", "CgoPanicDeadlock")
239 if !strings.HasPrefix(got, want) {
240 t.Fatalf("output does not start with %q:\n%s", want, got)
246 got := runTestProg(t, "testprogcgo", "CgoCCodeSIGPROF")
248 if got != want {
249 t.Errorf("expected %q got %v", want, got)
258 got := runTestProg(t, "testprogcgo", "CrashTraceback")
260 if !strings.Contains(got, fmt.Sprintf("cgo symbolizer:%d", i)) {
268 got := runTestProg(t, "testprogcgo", "TracebackContext")
270 if got != want {
271 t.Errorf("expected %q got %v", want, got)
287 got, err := testenv.CleanCmdEnv(exec.Command(exe, runArg)).CombinedOutput()
295 fn := strings.TrimSpace(string(got))
363 got, err := testenv.CleanCmdEnv(exec.Command(exe, "CgoRaceprof")).CombinedOutput()
368 if string(got) != want {
369 t.Errorf("expected %q got %s", want, got)
392 got, err := testenv.CleanCmdEnv(exec.Command(exe, "CgoRaceSignal")).CombinedOutput()
394 t.Logf("%s\n", got)
398 if string(got) != want {
399 t.Errorf("expected %q got %s", want, got)
409 got := runTestProg(t, "testprogcgo", "NumGoroutine")
411 if got != want {
412 t.Errorf("expected %q got %v", want, got)
467 if expected, got := 100<<10, stackUsage; got > expected {
468 t.Fatalf("expected < %d bytes of memory per thread, got %d", expected, got)
478 got := runTestProg(t, "testprogcgo", "SigStack")
480 if got != want {
481 t.Errorf("expected %q got %v", want, got)
495 got := runTestProg(t, "testprogcgo", "TracebackSigpanic")
497 if !strings.Contains(got, want) {
498 t.Fatalf("want failure containing %q. output:\n%s\n", want, got)
501 if strings.Contains(got, nowant) {
502 t.Fatalf("failure incorrectly contains %q. output:\n%s\n", nowant, got)