From 978ece5caa309092d773e8e495ef16536ece8510 Mon Sep 17 00:00:00 2001 From: Jordan Krage Date: Fri, 22 Nov 2024 11:19:11 -0600 Subject: [PATCH] tools/bin: rm -vet=off (#15384) --- tools/bin/go_core_ccip_deployment_tests | 8 ++++---- tools/bin/go_core_race_tests | 8 ++++---- tools/bin/go_core_tests | 8 ++++---- tools/bin/go_core_tests_integration | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tools/bin/go_core_ccip_deployment_tests b/tools/bin/go_core_ccip_deployment_tests index 5249496cc0a..6f1ef8d01cf 100755 --- a/tools/bin/go_core_ccip_deployment_tests +++ b/tools/bin/go_core_ccip_deployment_tests @@ -12,15 +12,15 @@ echo "Failed tests and panics: ---------------------" echo "" if [[ $GITHUB_EVENT_NAME == "schedule" ]]; then if [[ $DEBUG == "true" ]]; then - go test -json -vet=off ./... -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt | tee $OUTPUT_FILE + go test -json ./... -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt | tee $OUTPUT_FILE else - go test -json -vet=off ./... -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt | cat > $OUTPUT_FILE + go test -json ./... -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt | cat > $OUTPUT_FILE fi else if [[ $DEBUG == "true" ]]; then - go test -vet=off ./... | tee $OUTPUT_FILE + go test ./... | tee $OUTPUT_FILE else - go test -vet=off ./... | cat > $OUTPUT_FILE + go test ./... | cat > $OUTPUT_FILE fi fi EXITCODE=${PIPESTATUS[0]} diff --git a/tools/bin/go_core_race_tests b/tools/bin/go_core_race_tests index 2c4071bc20f..2af12b86403 100755 --- a/tools/bin/go_core_race_tests +++ b/tools/bin/go_core_race_tests @@ -8,15 +8,15 @@ echo "Failed tests and panics: ---------------------" echo "" if [[ $GITHUB_EVENT_NAME == "schedule" ]]; then if [[ $DEBUG == "true" ]]; then - GORACE="log_path=$PWD/race" go test -json -vet=off -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | tee $OUTPUT_FILE + GORACE="log_path=$PWD/race" go test -json -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | tee $OUTPUT_FILE else - GORACE="log_path=$PWD/race" go test -vet=off -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | cat > $OUTPUT_FILE + GORACE="log_path=$PWD/race" go test -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | cat > $OUTPUT_FILE fi else if [[ $DEBUG == "true" ]]; then - GORACE="log_path=$PWD/race" go test -json -vet=off -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | tee $OUTPUT_FILE + GORACE="log_path=$PWD/race" go test -json -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | tee $OUTPUT_FILE else - GORACE="log_path=$PWD/race" go test -vet=off -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | cat > $OUTPUT_FILE + GORACE="log_path=$PWD/race" go test -race -shuffle on -timeout "$TIMEOUT" -count "$COUNT" $1 | cat > $OUTPUT_FILE fi fi EXITCODE=${PIPESTATUS[0]} diff --git a/tools/bin/go_core_tests b/tools/bin/go_core_tests index 90713e15563..92e32b4ae94 100755 --- a/tools/bin/go_core_tests +++ b/tools/bin/go_core_tests @@ -9,15 +9,15 @@ echo "Failed tests and panics: ---------------------" echo "" if [[ $GITHUB_EVENT_NAME == "schedule" ]]; then if [[ $DEBUG == "true" ]]; then - go test -json -vet=off -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt $1 | tee $OUTPUT_FILE + go test -json -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt $1 | tee $OUTPUT_FILE else - go test -json -vet=off -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt $1 | cat > $OUTPUT_FILE + go test -json -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt $1 | cat > $OUTPUT_FILE fi else if [[ $DEBUG == "true" ]]; then - go test -vet=off $1 | tee $OUTPUT_FILE + go test $1 | tee $OUTPUT_FILE else - go test -vet=off $1 | cat > $OUTPUT_FILE + go test $1 | cat > $OUTPUT_FILE fi fi EXITCODE=${PIPESTATUS[0]} diff --git a/tools/bin/go_core_tests_integration b/tools/bin/go_core_tests_integration index 6dfe22583cd..fed80c4bbd5 100755 --- a/tools/bin/go_core_tests_integration +++ b/tools/bin/go_core_tests_integration @@ -21,15 +21,15 @@ if [[ $GITHUB_EVENT_NAME == "schedule" ]]; then # ALL_IMPORTS=$(go list -f '{{ join .Imports "\n" }}' $INTEGRATION_TEST_DIRS | sort -u) # COVERPKG_DIRS=$(echo "$INTEGRATION_TEST_DIRS $ALL_IMPORTS" | grep "smartcontractkit/chainlink" | tr '\n' ',') if [[ $DEBUG == "true" ]]; then - go test -json -tags integration -vet=off -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt $INTEGRATION_TEST_DIRS_SPACE_DELIMITED | tee $OUTPUT_FILE + go test -json -tags integration -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt $INTEGRATION_TEST_DIRS_SPACE_DELIMITED | tee $OUTPUT_FILE else - go test -json -tags integration -vet=off -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt $INTEGRATION_TEST_DIRS_SPACE_DELIMITED | cat > $OUTPUT_FILE + go test -json -tags integration -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt $INTEGRATION_TEST_DIRS_SPACE_DELIMITED | cat > $OUTPUT_FILE fi else if [[ $DEBUG == "true" ]]; then - go test -vet=off -tags integration $INTEGRATION_TEST_DIRS_SPACE_DELIMITED | tee $OUTPUT_FILE + go test -tags integration $INTEGRATION_TEST_DIRS_SPACE_DELIMITED | tee $OUTPUT_FILE else - go test -vet=off -tags integration $INTEGRATION_TEST_DIRS_SPACE_DELIMITED | cat > $OUTPUT_FILE + go test -tags integration $INTEGRATION_TEST_DIRS_SPACE_DELIMITED | cat > $OUTPUT_FILE fi fi EXITCODE=${PIPESTATUS[0]}