aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/dist/test.go6
-rwxr-xr-xsrc/run.bash3
2 files changed, 1 insertions, 8 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 9700e15738..a94945893c 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -193,12 +193,6 @@ func (t *tester) run() {
}
t.timeoutScale = 1
- switch goarch {
- case "arm":
- t.timeoutScale = 2
- case "mips", "mipsle", "mips64", "mips64le":
- t.timeoutScale = 4
- }
if s := os.Getenv("GO_TEST_TIMEOUT_SCALE"); s != "" {
t.timeoutScale, err = strconv.Atoi(s)
if err != nil {
diff --git a/src/run.bash b/src/run.bash
index 35fa8f626c..6274df6fb3 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -20,8 +20,7 @@
# and will be removed if it stops being needed. See go.dev/issue/12508.
#
# GO_TEST_TIMEOUT_SCALE: a non-negative integer factor to scale test timeout by.
-# Defaults to 1, or as a special case for the purpose of the Go build system (x/build),
-# defaults to 2 when GOARCH is arm, and to 4 when GOARCH is mips, mipsle, mips64, or mips64le.
+# Defaults to 1.
set -e