mirror of
https://github.com/safing/portbase
synced 2025-09-01 10:09:50 +00:00
Improve test output readability
This commit is contained in:
parent
099a597be9
commit
d0ffecb060
1 changed files with 3 additions and 1 deletions
4
test
4
test
|
@ -174,13 +174,15 @@ echo "running tests for ${platformInfo//$'\n'/ }:"
|
|||
|
||||
# run vet/test on packages
|
||||
for package in $packages; do
|
||||
echo ""
|
||||
echo $package
|
||||
checkformat $package
|
||||
run golint -set_exit_status -min_confidence 1.0 $package
|
||||
run go vet $package
|
||||
run go test -cover $fullTestFlags $package
|
||||
if [[ $all -eq 1 ]]; then
|
||||
run golangci-lint run $GOPATH/src/$package
|
||||
fi
|
||||
run go test -cover $fullTestFlags $package
|
||||
done
|
||||
|
||||
echo ""
|
||||
|
|
Loading…
Add table
Reference in a new issue