Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 183 for SkipIf (0.12 sec)

  1. src/cmd/objdump/objdump_test.go

    }
    
    func mustHaveDisasm(t *testing.T) {
    	switch runtime.GOARCH {
    	case "loong64":
    		t.Skipf("skipping on %s", runtime.GOARCH)
    	case "mips", "mipsle", "mips64", "mips64le":
    		t.Skipf("skipping on %s, issue 12559", runtime.GOARCH)
    	case "riscv64":
    		t.Skipf("skipping on %s, issue 36738", runtime.GOARCH)
    	case "s390x":
    		t.Skipf("skipping on %s, issue 15255", runtime.GOARCH)
    	}
    }
    
    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/link/dwarf_test.go

    	if err := testenv.Command(t, "xcrun", "--help").Run(); err != nil {
    		t.Skipf("error running xcrun, required for iOS cross build: %v", err)
    	}
    	// Check to see if the ios tools are installed. It's possible to have the command line tools
    	// installed without the iOS sdk.
    	if output, err := testenv.Command(t, "xcodebuild", "-showsdks").CombinedOutput(); err != nil {
    		t.Skipf("error running xcodebuild, required for iOS cross build: %v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. pkg/test/framework/test.go

    		t.goTest.Skipf("Skipping %q: number of clusters %d is above required max %d",
    			t.goTest.Name(), len(t.s.Environment().Clusters()), t.requiredMaxClusters)
    		return
    	}
    
    	if t.minKubernetesMinorVersion > 0 {
    		for _, c := range ctx.Clusters() {
    			if !c.MinKubeVersion(t.minKubernetesMinorVersion) {
    				t.goTest.Skipf("Skipping %q: cluster %s is below required min k8s version 1.%d",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/runtime/memmove_linux_amd64_test.go

    	if errno != 0 {
    		t.Skipf("could not create memory mapping: %s", errno)
    	}
    	syscall.Syscall(syscall.SYS_MUNMAP, base, 3<<30, 0)
    
    	for off := uintptr(0); off < 3<<30; off += 65536 {
    		_, _, errno := syscall.Syscall6(syscall.SYS_MMAP,
    			base+off, 65536, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_SHARED|syscall.MAP_FIXED, tmp.Fd(), 0)
    		if errno != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:48:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. src/runtime/security_test.go

    		t.Skipf("unable to set permissions on %q, likely no passwordless sudo/su: %s", filepath.Dir(bin), err)
    	}
    
    	if err := privesc("chown", user, bin); err != nil {
    		t.Skipf("unable to set permissions on test binary, likely no passwordless sudo/su: %s", err)
    	}
    	if err := privesc("chmod", "u+s", bin); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 18:10:14 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. src/net/lookup_windows_test.go

    		mx, err := r.LookupMX(context.Background(), server)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(mx) == 0 {
    			t.Fatal("no results")
    		}
    		expected, err := nslookupMX(server)
    		if err != nil {
    			t.Skipf("skipping failed nslookup %s test: %s", server, err)
    		}
    		byPrefAndHost := func(a, b *MX) int {
    			if r := cmp.Compare(a.Pref, b.Pref); r != 0 {
    				return r
    			}
    			return strings.Compare(a.Host, b.Host)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/fmahash_test.go

    func TestFmaHash(t *testing.T) {
    	switch runtime.GOOS {
    	case "linux", "darwin":
    	default:
    		t.Skipf("Slow test, usually avoid it, os=%s not linux or darwin", runtime.GOOS)
    	}
    	switch runtime.GOARCH {
    	case "amd64", "arm64":
    	default:
    		t.Skipf("Slow test, usually avoid it, arch=%s not amd64 or arm64", runtime.GOARCH)
    	}
    
    	testenv.MustHaveGoBuild(t)
    	gocmd := testenv.GoToolPath(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 21:57:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/os/exec/lp_linux_test.go

    	err := syscall.Mount("tmpfs", tmp, "tmpfs", 0, "")
    	if testenv.SyscallIsNotSupported(err) {
    		// Usually this means lack of CAP_SYS_ADMIN, but there might be
    		// other reasons, especially in restricted test environments.
    		t.Skipf("requires ability to mount tmpfs (%v)", err)
    	} else if err != nil {
    		t.Fatalf("mount %s failed: %v", tmp, err)
    	}
    	t.Cleanup(func() {
    		if err := syscall.Unmount(tmp, 0); err != nil {
    			t.Error(err)
    		}
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:02:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/net/parse_test.go

    	switch runtime.GOOS {
    	case "android", "plan9", "windows", "wasip1":
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    	filename := "/etc/services" // a nice big file
    
    	fd, err := os.Open(filename)
    	if err != nil {
    		// The file is missing even on some Unix systems.
    		t.Skipf("skipping because failed to open /etc/services: %v", err)
    	}
    	defer fd.Close()
    	br := bufio.NewReader(fd)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 00:04:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/net/file_test.go

    	network string
    }{
    	{"tcp"},
    	{"udp"},
    	{"unix"},
    	{"unixpacket"},
    }
    
    func TestFileConn(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9", "windows", "js", "wasip1":
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    
    	for _, tt := range fileConnTests {
    		if !testableNetwork(tt.network) {
    			t.Logf("skipping %s test", tt.network)
    			continue
    		}
    
    		var network, address string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top