updates for fmt testing

This commit is contained in:
Vishvananda Ishaya 2014-10-31 12:21:50 -07:00
parent dfb90f83f1
commit f622e51d99
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1 @@
language: go
script: sudo -E go test -v github.com/vishvananda/netlink && sudo -E go test -v github.com/vishvananda/netlink/nl

View File

@ -9,6 +9,7 @@ all: test
.PHONY: $(call testdirs,$(DIRS))
$(call testdirs,$(DIRS)):
sudo -E go test -v github.com/vishvananda/netlink/$@
! gofmt -l $@*.go | grep ''
go test -v github.com/vishvananda/netlink/$@
test: $(call testdirs,$(DIRS))