github.com/makyo/juju@v0.0.0-20160425123129-2608902037e9/cmd/juju/service/package_test.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package service_test
     5  
     6  import (
     7  	"runtime"
     8  	stdtesting "testing"
     9  
    10  	gittesting "github.com/juju/testing"
    11  
    12  	_ "github.com/juju/juju/provider/dummy"
    13  	"github.com/juju/juju/testing"
    14  )
    15  
    16  // TODO(wallyworld) - convert tests moved across from commands package to not require mongo
    17  
    18  func TestPackage(t *stdtesting.T) {
    19  	if runtime.GOARCH == "386" {
    20  		t.Skipf("skipping package for %v/%v, see http://pad.lv/1425569", runtime.GOOS, runtime.GOARCH)
    21  	}
    22  	if gittesting.RaceEnabled {
    23  		t.Skip("skipping test in -race mode, see LP 1518810")
    24  	}
    25  	testing.MgoTestPackage(t)
    26  }