Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Skipf (0.13 sec)

  1. src/cmd/cgo/internal/test/callstub_linux_ppc64le.go

    import "C"
    import "testing"
    
    func testPPC64CallStubs(t *testing.T) {
    	// Verify the trampolines run on the testing machine. If they
    	// do not, or are missing, a crash is expected.
    	if C.TestPPC64Stubs() != 0 {
    		t.Skipf("This test requires binutils 2.35 or newer.")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 22 15:06:17 GMT 2023
    - 540 bytes
    - Viewed (0)
  2. tests/create_test.go

    	AssertEqual(t, u2.Email, "on-conflict-user-email-2")
    	AssertEqual(t, u2.Mobile, "133xxxx")
    }
    
    func TestCreateFromMapWithoutPK(t *testing.T) {
    	if !isMysql() {
    		t.Skipf("This test case skipped, because of only supporting for mysql")
    	}
    
    	// case 1: one record, create from map[string]interface{}
    	mapValue1 := map[string]interface{}{"name": "create_from_map_with_schema1", "age": 1}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/swig/swig_test.go

    	cxx, err := exec.Command("go", "env", "CXX").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go env CXX failed: %s", err)
    	}
    	args, err := quoted.Split(string(cxx))
    	if err != nil {
    		t.Skipf("could not parse 'go env CXX' output %q: %s", string(cxx), err)
    	}
    	if len(args) == 0 {
    		t.Skip("no C++ compiler")
    	}
    	testenv.MustHaveExecPath(t, string(args[0]))
    }
    
    var (
    	swigOnce sync.Once
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue18146.go

    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    
    	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    		t.Skipf("skipping flaky test on %s; see golang.org/issue/18202", runtime.GOOS)
    	}
    
    	if runtime.GOARCH == "mips" || runtime.GOARCH == "mips64" {
    		t.Skipf("skipping on %s", runtime.GOARCH)
    	}
    
    	attempts := 1000
    	threads := 4
    
    	// Restrict the number of attempts based on RLIMIT_NPROC.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    			func(t *testing.T) {
    				c := &check{t, testCase.serverType}
    				suite := testCase
    
    				ldapServer := os.Getenv(EnvTestLDAPServer)
    				if ldapServer == "" {
    					c.Skipf("Skipping LDAP test as no LDAP server is provided via %s", EnvTestLDAPServer)
    				}
    
    				suite.SetUpSuite(c)
    				suite.SetUpLDAP(c, ldapServer)
    				suite.TestLDAPSTS(c)
    				suite.TestLDAPUnicodeVariations(c)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. tests/helper_test.go

    				"Birthday", "CompanyID", "ManagerID", "Active")
    		}
    	})
    }
    
    func tidbSkip(t *testing.T, reason string) {
    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top