Merge pull request #314 from squaremo/issue289_exclude_test

Move testing utils to its own package

Fixes #289.
This commit is contained in:
rade committed 2015-01-12 11:42:55 +00:00
commit 73e1d0c12e
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ all: $(WEAVER_EXPORT) $(WEAVEDNS_EXPORT) $(WEAVETOOLS_EXPORT)
update:
go get -u -f -v -tags -netgo ./$(dir $(WEAVER_EXE)) ./$(dir $(WEAVEDNS_EXE))
$(WEAVER_EXE) $(WEAVEDNS_EXE):
$(WEAVER_EXE) $(WEAVEDNS_EXE): common/*.go
go get -tags netgo ./$(@D)
go build -ldflags "-extldflags \"-static\" -X main.version $(WEAVE_VERSION)" -tags netgo -o $@ ./$(shell dirname $@)
@strings $@ | grep cgo_stub\\\.go >/dev/null || { \
+1 -1
View File
@@ -2,7 +2,7 @@ package nameserver
import (
"fmt"
wt "github.com/zettio/weave/common"
wt "github.com/zettio/weave/testing"
"math/rand"
"net"
"net/http"
+1 -1
View File
@@ -2,7 +2,7 @@ package nameserver
import (
"github.com/miekg/dns"
wt "github.com/zettio/weave/common"
wt "github.com/zettio/weave/testing"
"log"
"net"
"testing"
+1 -1
View File
@@ -2,7 +2,7 @@ package nameserver
import (
"github.com/miekg/dns"
wt "github.com/zettio/weave/common"
wt "github.com/zettio/weave/testing"
"log"
"net"
"testing"
+1 -1
View File
@@ -1,7 +1,7 @@
package nameserver
import (
wt "github.com/zettio/weave/common"
wt "github.com/zettio/weave/testing"
"net"
"testing"
)
+1 -1
View File
@@ -1,4 +1,4 @@
package common
package testing
import (
"fmt"