From 5d45c2f4687759764b8be1aee4c4b223a06648c7 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 24 Nov 2020 20:24:35 +0000 Subject: [PATCH] Allow passing custom args to run_tests.sh go test This allows e.g. `./run_tests.sh -count=1` to be used, which in this example forces tests to run while ignoring the cached test results. --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index b38259c5a..a56f152fc 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -4,4 +4,4 @@ set -ex go version -go test -short -vet=all ./... +go test -short -vet=all "$@" ./...