func TestEC2(t *testing.T) { if *amazon { registerAmazonTests() } registerLocalTests() gc.TestingT(t) }
func TestPackage(t *stdtesting.T) { if *amazon { registerAmazonTests() } registerLocalTests() gc.TestingT(t) }
// MgoTestPackage should be called to register the tests for any package // that requires a MongoDB server. If certs is non-nil, a secure SSL connection // will be used from client to server. func MgoTestPackage(t *testing.T, certs *Certs) { if err := MgoServer.Start(certs); err != nil { t.Fatal(err) } defer MgoServer.Destroy() gc.TestingT(t) }
func TestPackage(t *testing.T) { //TODO(bogdanteleaga): Fix this on windows if runtime.GOOS == "windows" { t.Skip("bug 1403084: Skipping rsyslog tests on windows") } gc.TestingT(t) }
func TestPackage(t *stdtesting.T) { if testing.RaceEnabled { t.Skip("skipping package under -race, see LP 1497801") } registerLocalTests() gc.TestingT(t) }
func Test(t *stdtesting.T) { //TODO(bogdanteleaga): Fix these on windows if runtime.GOOS == "windows" { t.Skip("bug 1403084: Skipping for now on windows") } gc.TestingT(t) }
func Test(t *testing.T) { //TODO(bogdanteleaga): Fix this once manual provider is supported on //windows if runtime.GOOS == "windows" { t.Skip("Manual provider is not yet supported on windows") } gc.TestingT(t) }
func Test(t *testing.T) { err := components.RegisterForServer() if err != nil { t.Fatalf("could not register server components: %v", err) } gc.TestingT(t) }
func TestPackage(t *stdtesting.T) { if testing.RaceEnabled { t.Skip("skipping package under -race, see LP 1519141") } if *amazon { registerAmazonTests() } registerLocalTests() gc.TestingT(t) }
func Test(t *testing.T) { if *live { cred, err := identity.CompleteCredentialsFromEnv() if err != nil { t.Fatalf("Error setting up test suite: %s", err.Error()) } registerLiveTests(cred) } registerLocalTests() gc.TestingT(t) }
func Test(t *testing.T) { //TODO(bogdanteleaga): Fix this once manual provider is supported on //windows if runtime.GOOS == "windows" { t.Skip("Manual provider is not yet supported on windows") } // Prevent any use of ssh for storage. *manual.NewSSHStorage = func(sshHost, storageDir, storageTmpdir string) (storage.Storage, error) { return nil, nil } gc.TestingT(t) }
func Test(t *stdtesting.T) { if runtime.GOOS == "windows" { t.Skip("LXC is not supported on windows") } /* if there's not a lxd available, don't run the tests */ /* _, err := lxd.ConnectLocal("") if err != nil { t.Skip("LXD is not avalilable %s", err) } */ gc.TestingT(t) }
func Test(t *stdtesting.T) { if *live { if *vendor == "" { t.Fatal("missing vendor") } var ok bool var testData liveTestData if testData, ok = liveURLs[*vendor]; !ok { keys := reflect.ValueOf(liveURLs).MapKeys() t.Fatalf("Unknown vendor %s. Must be one of %s", *vendor, keys) } registerLiveSimpleStreamsTests(testData.baseURL, imagemetadata.NewImageConstraint(simplestreams.LookupParams{ CloudSpec: testData.validCloudSpec, Series: []string{"quantal"}, Arches: []string{"amd64"}, }), testData.requireSigned) } registerSimpleStreamsTests() gc.TestingT(t) }
func TestAll(t *testing.T) { gc.TestingT(t) }
func Test(t *stdtesting.T) { gc.TestingT(t) }
func Test(t *testing.T) { if runtime.GOOS == "windows" { t.Skip("Skipping upstart tests on windows") } gc.TestingT(t) }
func Test(t *testing.T) { checker.TestingT(t) }
func Test(t *stdtesting.T) { if runtime.GOOS != "linux" { t.Skip("LXC is a Linux thing") } gc.TestingT(t) }
func Test(t *stdtesting.T) { if runtime.GOOS == "windows" { t.Skip("LXC is currently not supported on windows") } gc.TestingT(t) }
func Test(t *testing.T) { gc.TestingT(t) }
// Hook up gocheck into the gotest runner. func Test(t *testing.T) { test.TestingT(t) }
func TestAzureProvider(t *stdtesting.T) { gc.TestingT(t) }
func TestLocal(t *stdtesting.T) { gc.TestingT(t) }
func Test(t *testing.T) { registerSimpleStreamsTests() gc.Suite(&signingSuite{}) gc.Suite(&jsonSuite{}) gc.TestingT(t) }
func Test(t *testing.T) { chk.TestingT(t) }
func TestMAAS(t *stdtesting.T) { gc.TestingT(t) }
func TestEncoding(t *testing.T) { checker.TestingT(t) }
// make `go test` happy func TestMe(t *testing.T) { check.TestingT(t) }
func TestPackage(t *stdtesting.T) { gc.TestingT(t) }
func TestLocal(t *stdtesting.T) { if runtime.GOOS == "windows" { t.Skip("Local provider is not supported on windows") } gc.TestingT(t) }