aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2018-06-22 17:36:12 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2018-06-22 17:58:10 +0000
commit7d50abf0394dbcd2d86ac9c1c5c527ef5117e351 (patch)
treeaeecc3235d86804ddcc0ca1a8277e50fc3db61e7
parentf422bea498b138022135060050bbbc249589a945 (diff)
downloadgo-7d50abf0394dbcd2d86ac9c1c5c527ef5117e351.tar.gz
go-7d50abf0394dbcd2d86ac9c1c5c527ef5117e351.zip
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 <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
-rw-r--r--src/cmd/dist/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 49e5699120..6d449ec499 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
}