l=$(go list ./...) for x in $l; do echo "Testing package $x" go test -v $x done