From 7d50abf0394dbcd2d86ac9c1c5c527ef5117e351 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 22 Jun 2018 17:36:12 +0000 Subject: [PATCH] cmd/dist: skip non-std tests on js/wasm After the std tests, most of the rest of the tests aren't applicable to js/wasm. (anything with -cpu=>1, cgo, etc) Skip them all for now. We can incrementally re-enable them over time as the js/wasm port is fleshed out. But let's get the builder column black again so we can enable trybots and keep it black. Updates #26014 Updates #26015 Updates #18892 Change-Id: I8992ed3888f598fa42273ce8646a32d62ce45b1d Reviewed-on: https://go-review.googlesource.com/120575 Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot Reviewed-by: Andrew Bonventre --- src/cmd/dist/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 49e569912061d..6d449ec499d7b 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -446,7 +446,7 @@ func (t *tester) registerTests() { }) } - if t.race { + if t.race || goos == "js" { return }