Run the test suite without -v so a failure shows in the build log (closes #414) #415

Merged
clawbot merged 1 commits from issue-414-quiet-test-output into next 2026-10-02 06:31:53 +02:00
+6 -1
View File
@@ -27,6 +27,11 @@
# binaries build or run at once, each with at most eight parallel tests. Under
# -race every test binary and every link costs a few hundred MB, so the
# defaults (one per core) add up to several GB on a many-core host.
#
# No -v: the Docker build cuts each step's log off at 2 MiB, and verbose output
# from the whole suite passes that before a failure is printed. Without it, go
# test prints one result line per package and, for a package that fails,
# everything its tests wrote, application log lines included.
set -eu
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
@@ -34,7 +39,7 @@ ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
main() {
cd "$ROOT"
"$ROOT/script/assets"
go test -v -race -p 4 -parallel 8 -timeout 90s ./...
go test -race -p 4 -parallel 8 -timeout 90s ./...
}
main "$@"