1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Update unit test script.

This commit is contained in:
Avesh Agarwal
2017-08-31 11:03:39 -04:00
parent adc83b806e
commit bffae7effb

View File

@@ -14,5 +14,8 @@
#!/bin/sh
tests=$(for file in $(find . -iname "*_test.go" | grep -v "./vendor" | sed "s/\.//"); do test=$(dirname $file | sed "s/\.//"); echo "github.com/aveshagarwal/rescheduler$test"; done)
go test $tests
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
# run unit tests
go test $(go list ${PRJ_PREFIX}/... | grep -v ${PRJ_PREFIX}/vendor/)