1 parent
536ce992fc
commit
9a91b3ce9c
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ for dir in $TESTDIRS; do
|
|||||||
|
|
||||||
GO_TEST_ARGS_RUN="$GO_TEST_ARGS"
|
GO_TEST_ARGS_RUN="$GO_TEST_ARGS"
|
||||||
if [ -n "$SLOW" ]; then
|
if [ -n "$SLOW" ]; then
|
||||||
COVERPKGS=$(go list -f '{{join .Deps "\n"}}' $dir | grep "weaveworks" | paste -s -d,)
|
COVERPKGS=$((go list $dir; go list -f '{{join .Deps "\n"}}' $dir | grep "weaveworks") | paste -s -d,)
|
||||||
output=$(mktemp $coverdir/unit.XXXXXXXXXX)
|
output=$(mktemp $coverdir/unit.XXXXXXXXXX)
|
||||||
GO_TEST_ARGS_RUN="$GO_TEST_ARGS -coverprofile=$output -coverpkg=$COVERPKGS"
|
GO_TEST_ARGS_RUN="$GO_TEST_ARGS -coverprofile=$output -coverpkg=$COVERPKGS"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user