Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 183 for SkipIf (0.11 sec)

  1. src/crypto/sha1/fallback_test.go

    	"fmt"
    	"io"
    	"testing"
    )
    
    // Tests the fallback code path in case the optimized asm
    // implementation cannot be used.
    // See also TestBlockGeneric.
    func TestGenericPath(t *testing.T) {
    	if !useAsm {
    		t.Skipf("assembly implementation unavailable")
    	}
    	useAsm = false
    	defer func() { useAsm = true }()
    	c := New()
    	in := "ΑΒΓΔΕϜΖΗΘΙΚΛΜΝΞΟΠϺϘΡΣΤΥΦΧΨΩ"
    	gold := "0f58c2bb130f8182375f325c18342215255387e5"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 853 bytes
    - Viewed (0)
  2. src/crypto/sha512/fallback_test.go

    	"fmt"
    	"io"
    	"testing"
    )
    
    // Tests the fallback code path in case the optimized asm
    // implementation cannot be used.
    // See also TestBlockGeneric.
    func TestGenericPath(t *testing.T) {
    	if !useAsm {
    		t.Skipf("assembly implementation unavailable")
    	}
    	useAsm = false
    	defer func() { useAsm = true }()
    	c := New()
    	in := "ΑΒΓΔΕϜΖΗΘΙΚΛΜΝΞΟΠϺϘΡΣΤΥΦΧΨΩ"
    	gold := "6922e319366d677f34c504af31bfcb29" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 964 bytes
    - Viewed (0)
  3. src/crypto/sha256/fallback_test.go

    	"io"
    	"testing"
    )
    
    // Tests the fallback code path in case the optimized asm
    // implementation cannot be used.
    // See also TestBlockGeneric.
    func TestGenericPath(t *testing.T) {
    	if useAsm == false {
    		t.Skipf("assembly implementation unavailable")
    	}
    	useAsm = false
    	defer func() { useAsm = true }()
    	c := New()
    	in := "ΑΒΓΔΕϜΖΗΘΙΚΛΜΝΞΟΠϺϘΡΣΤΥΦΧΨΩ"
    	gold := "e93d84ec2b22383123be9f713697fb25" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 894 bytes
    - Viewed (0)
  4. src/net/dial_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	c.Close()
    }
    
    func TestDialerDualStackFDLeak(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9":
    		t.Skipf("%s does not have full support of socktest", runtime.GOOS)
    	case "windows":
    		t.Skipf("not implemented a way to cancel dial racers in TCP SYN-SENT state on %s", runtime.GOOS)
    	case "openbsd":
    		testenv.SkipFlaky(t, 15157)
    	}
    	if !supportsIPv4() || !supportsIPv6() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. src/net/listen_test.go

    // TestTCPListener tests both single and double listen to a test
    // listener with same address family, same listening address and
    // same port.
    func TestTCPListener(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9":
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    
    	for _, tt := range tcpListenerTests {
    		if !testableListenArgs(tt.network, JoinHostPort(tt.address, "0"), "") {
    			t.Logf("skipping %s test", tt.network+" "+tt.address)
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  6. pkg/test/framework/testcontext.go

    	id := s.allocateContextID(goTest.Name())
    
    	allLabels := s.suiteLabels.Merge(labels)
    	if !s.settings.Selector.Selects(allLabels) {
    		goTest.Skipf("Skipping: label mismatch: labels=%v, filter=%v", allLabels, s.settings.Selector)
    	}
    
    	if s.settings.SkipMatcher.MatchTest(goTest.Name()) {
    		goTest.Skipf("Skipping: test %v matched -istio.test.skip regex", goTest.Name())
    	}
    
    	scopes.Framework.Debugf("Creating New test context")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. src/os/removeall_test.go

    	// it should pass on other Unix systems.
    	if runtime.GOOS != "linux" {
    		t.Skipf("skipping test on %s", runtime.GOOS)
    	}
    	if _, err := Stat("/bin/strace"); err != nil {
    		t.Skipf("skipping test because /bin/strace not found: %v", err)
    	}
    	me, err := Executable()
    	if err != nil {
    		t.Skipf("skipping because Executable failed: %v", err)
    	}
    
    	// Create 100 directories.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/os/executable_test.go

    		}
    		os.Exit(0)
    	}
    }
    
    func TestExecutableDeleted(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	switch runtime.GOOS {
    	case "windows", "plan9":
    		t.Skipf("%v does not support deleting running binary", runtime.GOOS)
    	case "openbsd", "freebsd", "aix":
    		t.Skipf("%v does not support reading deleted binary name", runtime.GOOS)
    	}
    	t.Parallel()
    
    	dir := t.TempDir()
    
    	src := filepath.Join(dir, "testdel.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/sigaltstack.go

    import "C"
    
    import (
    	"runtime"
    	"testing"
    )
    
    func testSigaltstack(t *testing.T) {
    	switch {
    	case runtime.GOOS == "solaris", runtime.GOOS == "illumos", runtime.GOOS == "ios" && runtime.GOARCH == "arm64":
    		t.Skipf("switching signal stack not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    	}
    
    	C.changeSignalStack()
    	defer C.restoreSignalStack()
    	defer func() {
    		if recover() == nil {
    			t.Error("did not see expected panic")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/internal/cpu/cpu_x86_test.go

    	}
    	runDebugOptionsTest(t, "TestSSE3DebugOption", "cpu.sse3=off")
    }
    
    func TestSSE3DebugOption(t *testing.T) {
    	MustHaveDebugOptionsSupport(t)
    
    	if godebug.New("#cpu.sse3").Value() != "off" {
    		t.Skipf("skipping test: GODEBUG=cpu.sse3=off not set")
    	}
    
    	want := false
    	if got := X86.HasSSE3; got != want {
    		t.Errorf("X86.HasSSE3 expected %v, got %v", want, got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 18:30:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top