projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7903663
)
21227: Fail tests on 'go vet' problems.
author
Tom Clegg <tom@curii.com>
Fri, 1 Dec 2023 20:44:31 +0000
(15:44 -0500)
committer
Tom Clegg <tom@curii.com>
Fri, 1 Dec 2023 20:44:31 +0000
(15:44 -0500)
...except "literal uses unkeyed fields", of which there are currently
many instances, mostly in tests.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
build/run-tests.sh
patch
|
blob
|
history
diff --git
a/build/run-tests.sh
b/build/run-tests.sh
index 83688e8727690d161a25e644a019dbe061d9b152..70437bd21cdff07da8f279a3999b8f58bb0fb3ac 100755
(executable)
--- a/
build/run-tests.sh
+++ b/
build/run-tests.sh
@@
-1000,6
+1000,7
@@
test_gofmt() {
cd "$WORKSPACE" || return 1
dirs=$(ls -d */ | egrep -v 'vendor|tmp')
[[ -z "$(gofmt -e -d $dirs | tee -a /dev/stderr)" ]]
+ go vet -composites=false ./...
}
test_services/api() {