From e73b70baff9c2c8be4f4ec3fb025b63ecb5a7e9c Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 6 Apr 2022 12:13:38 +1000 Subject: [PATCH] runtime: Don't run unit tests verbose by default go-test.sh by default adds the -v option to 'go test' meaning that output will be printed from all the passing tests as well as any failing ones. This results in a lot of output in which it's often difficult to locate the failing tests you're interested in. So, remove -v from the default flags. Signed-off-by: David Gibson --- src/runtime/go-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/go-test.sh b/src/runtime/go-test.sh index 38dceef8f4af..3f431758295c 100755 --- a/src/runtime/go-test.sh +++ b/src/runtime/go-test.sh @@ -20,7 +20,7 @@ go_test_flags="${KATA_GO_TEST_FLAGS}" if [ -z "$go_test_flags" ]; then # KATA_GO_TEST_TIMEOUT can be set to any value accepted by # "go test -timeout X" - go_test_flags="-v -timeout ${KATA_GO_TEST_TIMEOUT:-30s}" + go_test_flags="-timeout ${KATA_GO_TEST_TIMEOUT:-30s}" # -race flag is not supported on s390x [ "$(go env GOARCH)" != "s390x" ] && go_test_flags+=" -race"