Add go test finder & runner

This commit is contained in:
Denis Arh
2018-07-06 09:11:20 +02:00
parent 341c845c80
commit 68dcdae73c
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
set -e
set -u
PKG=github.com/crusttech/crust
go test `cd ${GOPATH}/src/; find ${PKG} -type f -name '*_test.go' -and -not -path '*vendor*'|xargs -n1 dirname|uniq`