mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +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
|
# run vet/test on packages
|
||||||
for package in $packages; do
|
for package in $packages; do
|
||||||
|
echo ""
|
||||||
|
echo $package
|
||||||
checkformat $package
|
checkformat $package
|
||||||
run golint -set_exit_status -min_confidence 1.0 $package
|
run golint -set_exit_status -min_confidence 1.0 $package
|
||||||
run go vet $package
|
run go vet $package
|
||||||
run go test -cover $fullTestFlags $package
|
|
||||||
if [[ $all -eq 1 ]]; then
|
if [[ $all -eq 1 ]]; then
|
||||||
run golangci-lint run $GOPATH/src/$package
|
run golangci-lint run $GOPATH/src/$package
|
||||||
fi
|
fi
|
||||||
|
run go test -cover $fullTestFlags $package
|
||||||
done
|
done
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue