aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-12-10 10:45:59 -0500
committerRuss Cox <rsc@golang.org>2014-12-13 00:03:23 +0000
commitd160d1bc878566ad62a5426956b23b95403513c7 (patch)
treef05cc7232e248a7bcf3832e27c57e9ebc046e0dd /src/run.bash
parentb7a2b1e980f3f8471f87cd9108d4461b88e39f76 (diff)
downloadgo-d160d1bc878566ad62a5426956b23b95403513c7.tar.gz
go-d160d1bc878566ad62a5426956b23b95403513c7.zip
build: change all.bash output to be more markdown-friendly
People keep pasting all.bash output into GitHub bugs, which turns the # lines into <h1> headlines. Add some more #s so that the bug reports are more readable. Not ideal but seems like the best of a few bad options. Change-Id: I4c69930ec304b2d504d7cd66221281a8577b87ae Reviewed-on: https://go-review.googlesource.com/1286 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/run.bash b/src/run.bash
index bb9e706033..8da06d6803 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -37,7 +37,7 @@ rebuild=true
if [ "$1" == "--no-rebuild" ]; then
shift
else
- echo '# Building packages and commands.'
+ echo '##### Building packages and commands.'
time go install -a -v std
echo
fi
@@ -51,22 +51,22 @@ unset GOROOT_FINAL
timeout_scale=1
[ "$GOARCH" == "arm" ] && timeout_scale=3
-echo '# Testing packages.'
+echo '##### Testing packages.'
time go test std -short -timeout=$(expr 120 \* $timeout_scale)s -gcflags "$GO_GCFLAGS"
echo
# We set GOMAXPROCS=2 in addition to -cpu=1,2,4 in order to test runtime bootstrap code,
# creation of first goroutines and first garbage collections in the parallel setting.
-echo '# GOMAXPROCS=2 runtime -cpu=1,2,4'
+echo '##### GOMAXPROCS=2 runtime -cpu=1,2,4'
GOMAXPROCS=2 go test runtime -short -timeout=$(expr 300 \* $timeout_scale)s -cpu=1,2,4
echo
-echo '# sync -cpu=10'
+echo '##### sync -cpu=10'
go test sync -short -timeout=$(expr 120 \* $timeout_scale)s -cpu=10
xcd() {
echo
- echo '#' $1
+ echo '#####' $1
builtin cd "$GOROOT"/src/$1 || exit 1
}
@@ -165,7 +165,7 @@ esac
case "$GOHOSTOS-$GOOS-$GOARCH-$CGO_ENABLED" in
linux-linux-amd64-1 | freebsd-freebsd-amd64-1 | darwin-darwin-amd64-1)
echo
- echo '# Testing race detector.'
+ echo '##### Testing race detector.'
go test -race -i runtime/race flag os/exec
go test -race -run=Output runtime/race
go test -race -short flag os/exec
@@ -239,7 +239,7 @@ time ./timing.sh -test || exit 1
[ "$GOOS" == openbsd ] || # golang.org/issue/5057
(
echo
-echo '#' ../test/bench/go1
+echo '#####' ../test/bench/go1
go test ../test/bench/go1 || exit 1
) || exit $?