build: some small improvements; bump to go1.10
- bump to go 1.10 - Add a linker tag with the build version - Remove fastbuild, go builds are cached now - Use better ginkgo suite names
This commit is contained in:
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestDHCP(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "DHCP Suite")
|
||||
RunSpecs(t, "plugins/ipam/dhcp")
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestAllocator(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "Allocator Suite")
|
||||
RunSpecs(t, "plugins/ipam/host-local/backend/allocator")
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestLock(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "Disk Suite")
|
||||
RunSpecs(t, "plugins/ipam/host-local/backend/disk")
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestHostLocal(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "HostLocal Suite")
|
||||
RunSpecs(t, "plugins/ipam/host-local")
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestBridge(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "bridge Suite")
|
||||
RunSpecs(t, "plugins/main/bridge")
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestVlan(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "host-device Suite")
|
||||
RunSpecs(t, "plugins/main/host-device")
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestIpvlan(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "ipvlan Suite")
|
||||
RunSpecs(t, "plugins/main/ipvlan")
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ var pathToLoPlugin string
|
||||
|
||||
func TestLoopback(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "Loopback Suite")
|
||||
RunSpecs(t, "plugins/main/loopback")
|
||||
}
|
||||
|
||||
var _ = BeforeSuite(func() {
|
||||
|
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestMacvlan(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "macvlan Suite")
|
||||
RunSpecs(t, "plugins/main/macvlan")
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestPtp(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "ptp Suite")
|
||||
RunSpecs(t, "plugins/main/ptp")
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestVlan(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "vlan Suite")
|
||||
RunSpecs(t, "plugins/main/vlan")
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ import (
|
||||
|
||||
func TestTBF(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "bandwidth suite")
|
||||
RunSpecs(t, "plugins/meta/bandwidth")
|
||||
}
|
||||
|
||||
var echoServerBinaryPath string
|
||||
|
@ -22,5 +22,5 @@ import (
|
||||
|
||||
func TestFlannel(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "Flannel Suite")
|
||||
RunSpecs(t, "plugins/meta/flannel")
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ func TestPortmap(t *testing.T) {
|
||||
rand.Seed(config.GinkgoConfig.RandomSeed)
|
||||
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "portmap Suite")
|
||||
RunSpecs(t, "plugins/meta/portmap")
|
||||
}
|
||||
|
||||
var echoServerBinaryPath string
|
||||
|
@ -23,5 +23,5 @@ import (
|
||||
|
||||
func TestTuning(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "tuning Suite")
|
||||
RunSpecs(t, "plugins/meta/tuning")
|
||||
}
|
||||
|
@ -11,5 +11,5 @@ import (
|
||||
|
||||
func TestSample(t *testing.T) {
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "sample suite")
|
||||
RunSpecs(t, "plugins/sample")
|
||||
}
|
||||
|
Reference in New Issue
Block a user