]> Cypherpunks repositories - gostls13.git/commit
test: skip cross-arch codegen tests in all.bash
authorRuss Cox <rsc@golang.org>
Thu, 16 May 2019 04:12:34 +0000 (00:12 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 21 May 2019 12:10:31 +0000 (12:10 +0000)
commit4f248e988aa67a122d3355f6a22d50c1675697bb
treea379ace010859a134902a2ccc6ef074cb1574633
parent2d7cb295fdda94f3d62588b7bb01a4d8b445417a
test: skip cross-arch codegen tests in all.bash

The test/codegen tests check all architectures
mentioned in the test file, but this requires
building at least the runtime for that architecture.
This CL changes the test to only check the local
architecture, leaving checking of other architectures
to the relevant builders, as usual.

This cuts 'go run run.go codegen' by 12r 78u 21s.

After this change, all.bash runs in ~4:40 on my laptop.

For #26473.

Change-Id: Ia0354d1aff2df2949f838528c8171410bc42dc8b
Reviewed-on: https://go-review.googlesource.com/c/go/+/177577
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
test/run.go