We don't 'make test', we do something else

This commit is contained in:
Peter Bourgon
2015-10-01 10:44:13 +02:00
parent e8ddecebd1
commit 79356100d7

View File

@@ -91,7 +91,7 @@ build() {
sed -i "/SCRIPT_VERSION=/ c\SCRIPT_VERSION=\"$VERSION\"" ./scope
make SUDO=$SUDO SCOPE_VERSION=$VERSION DOCKERHUB_USER=$DOCKERHUB_USER
if make tests; then
if $(go list -e -f {{.Dir}} github.com/weaveworks/tools)/test; then
echo -e '\u2713 Tests pass'
else
echo -e "\u2757 Tests failed, probably best not publish this one" >&2