summaryrefslogtreecommitdiff
path: root/src/run.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.rc')
-rwxr-xr-xsrc/run.rc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/run.rc b/src/run.rc
index 765b331aa..65e2c07e5 100755
--- a/src/run.rc
+++ b/src/run.rc
@@ -7,7 +7,7 @@ rfork e
eval `{go env}
-GOPATH = () # we disallow local import for non-local packges, if $GOROOT happens
+GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens
# to be under $GOPATH, then some tests below will fail
# allow all.rc to avoid double-build of everything
@@ -32,6 +32,8 @@ echo '# Testing packages.'
time go test std -short -timeout 120s
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'
GOMAXPROCS=2 go test runtime -short -timeout 240s -cpu 1,2,4
echo
@@ -47,10 +49,6 @@ fn xcd {
}
echo
-echo '#' ../misc/goplay
-go build ../misc/gplay
-
-echo
echo '#' ../test/bench/go1
go test ../test/bench/go1