Skip to content
Permalink
Browse files

test: remove -v from tests (#285)

-v is only useful if you want to see all the test cases that are being run.
I don't think this is useful locally or in the build system. I've been having
trouble scrolling a lot and trying to find the FAIL: line.

Any failed test will still print its t.Log or stdout/stderr printing along with
the test method name, so this should be fine.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
  • Loading branch information...
ahmetb authored and k8s-ci-robot committed Jul 22, 2019
1 parent a065013 commit 7f6b8c883f652c8fe17e568741b892a545b7ced6
Showing with 3 additions and 3 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 hack/run-integration-tests.sh
  3. +1 −1 hack/run-tests.sh
@@ -14,7 +14,7 @@ script:
- hack/verify-boilerplate.sh
- hack/verify-gofmt.sh
- hack/run-lint.sh
- go test -v -short -coverprofile=coverage.txt -covermode=atomic ./...
- go test -short -coverprofile=coverage.txt -covermode=atomic ./...
- hack/make-all.sh
- hack/verify-installation.sh
- hack/ensure-kubectl-installed.sh
@@ -47,4 +47,4 @@ fi
KREW_BINARY="${krew_binary_realpath}"
export KREW_BINARY

GO111MODULE=on go test -test.v sigs.k8s.io/krew/integration_test
GO111MODULE=on go test sigs.k8s.io/krew/integration_test
@@ -44,7 +44,7 @@ print_with_color "$color_blue" 'Running gofmt'
"$SCRIPTDIR"/verify-gofmt.sh

print_with_color "$color_blue" 'Running tests'
GO111MODULE=on go test -v -short -race sigs.k8s.io/krew/...
GO111MODULE=on go test -short -race sigs.k8s.io/krew/...

print_with_color "$color_blue" 'Running linter'
"$SCRIPTDIR"/run-lint.sh

0 comments on commit 7f6b8c8

Please sign in to comment.
You can’t perform that action at this time.