Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f539318411 |
+5
-1
@@ -27,13 +27,17 @@
|
|||||||
# binaries build or run at once, each with at most eight parallel tests. Under
|
# 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
|
# -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.
|
# 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 only the output of failing tests and one result line per package.
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
|
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
cd "$ROOT"
|
cd "$ROOT"
|
||||||
go test -v -race -p 4 -parallel 8 -timeout 90s ./...
|
go test -race -p 4 -parallel 8 -timeout 90s ./...
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user