Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 602 for _logf (0.04 sec)

  1. 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)
  2. src/cmd/cgo/internal/testerrors/badsym_test.go

    	cc = cc[:len(cc):len(cc)]
    
    	return cc
    }
    
    func goEnv(t *testing.T, key string) string {
    	out, err := exec.Command("go", "env", key).CombinedOutput()
    	if err != nil {
    		t.Logf("go env %s\n", key)
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    	return strings.TrimSpace(string(out))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/go/internal/test/flagdefs_test.go

    	extra := maps.Clone(passFlagToTest)
    	for _, name := range wantNames {
    		delete(extra, name)
    	}
    	if len(extra) > 0 {
    		t.Errorf("passFlagToTest contains extra entries: %v", extra)
    	}
    
    	if t.Failed() {
    		t.Logf("To regenerate:\n\tgo generate cmd/go/internal/test")
    	}
    }
    
    func TestPassAnalyzersToVet(t *testing.T) {
    	testenv.MustHaveGoBuild(t) // runs 'go tool vet -flags'
    
    	wantNames, err := genflags.VetAnalyzers()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 09 13:37:58 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/cshared_test.go

    		if tc.sanitizer == "memory" && !platform.MSanSupported(GOOS, GOARCH) {
    			t.Logf("skipping %s test on %s/%s; -msan option is not supported.", name, GOOS, GOARCH)
    			continue
    		}
    		if tc.sanitizer == "thread" && !compilerRequiredTsanVersion(GOOS, GOARCH) {
    			t.Logf("skipping %s test on %s/%s; compiler version too old for -tsan.", name, GOOS, GOARCH)
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. pkg/api/testing/conversion.go

    	if err != nil {
    		t.Errorf("kind=%s: got unexpected error: %v", kind, err)
    		return
    	}
    	gvk := gv.WithKind(kind)
    
    	if len(fields) == 0 {
    		t.Logf("no selectable fields for kind %q, skipping", kind)
    	}
    	for label := range fields {
    		if label == "name" {
    			t.Logf("FIXME: \"name\" is deprecated by \"metadata.name\", it should be removed from selectable fields of kind=%s", kind)
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 07 07:01:25 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  8. src/os/exec/exec_test.go

    	// process to exit.
    	t.Run("Wait", func(t *testing.T) {
    		t.Parallel()
    		cmd := startHang(t, context.Background(), 1*time.Millisecond, os.Kill, 0)
    		err := cmd.Wait()
    		t.Logf("stderr:\n%s", cmd.Stderr)
    		t.Logf("[%d] %v", cmd.Process.Pid, err)
    
    		if err != nil {
    			t.Errorf("Wait: %v; want <nil>", err)
    		}
    		if ps := cmd.ProcessState; !ps.Exited() {
    			t.Errorf("cmd did not exit: %v", ps)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. src/testing/testing_test.go

    		}
    
    		got, ok := parseRunningTests(out)
    		if slices.Equal(got, want) {
    			break
    		}
    		if ok {
    			t.Logf("found running tests:\n%s\nwant:\n%s", strings.Join(got, "\n"), strings.Join(want, "\n"))
    		} else {
    			t.Logf("no running tests found")
    		}
    		t.Logf("retrying with longer timeout")
    		timeout *= 2
    	}
    }
    
    func TestRunningTestsInCleanup(t *testing.T) {
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. tests/integration/operator/switch_cr_test.go

    		metav1.ListOptions{})
    	if err == nil {
    		for _, obj := range crList.Items {
    			t.Logf("deleting CR %v", obj.GetName())
    			if err := cs.Dynamic().Resource(gvr).Namespace(IstioNamespace).Delete(context.TODO(), obj.GetName(),
    				metav1.DeleteOptions{}); err != nil {
    				t.Logf("failed to delete existing CR: %v", err)
    			}
    		}
    	} else {
    		t.Logf("failed to list existing CR: %v", err.Error())
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top