]> Cypherpunks repositories - gostls13.git/commit
test: run codegen tests on all supported architecture variants
authorGiovanni Bajo <rasky@develer.com>
Sun, 15 Apr 2018 17:00:27 +0000 (19:00 +0200)
committerGiovanni Bajo <rasky@develer.com>
Sun, 15 Apr 2018 20:02:43 +0000 (20:02 +0000)
commit284ba47b4916e3cf4f206494ad5a3577e20db9bf
tree9c2ab90dc5d305c01085d088ad9a301333a86d8e
parent01aa1d7dbe3a5b9f9a96f84cc625cbb7e372b0f0
test: run codegen tests on all supported architecture variants

This CL makes the codegen testsuite automatically test all
architecture variants for architecture specified in tests. For
instance, if a test file specifies a "arm" test, it will be
automatically run on all GOARM variants (5,6,7), to increase
the coverage.

The CL also introduces a syntax to specify only a specific
variant (eg: "arm/7") in case the test makes sense only there.
The same syntax also allows to specify the operating system
in case it matters (eg: "plan9/386/sse2").

Fixes #24658

Change-Id: I2eba8b918f51bb6a77a8431a309f8b71af07ea22
Reviewed-on: https://go-review.googlesource.com/107315
Run-TryBot: Giovanni Bajo <rasky@develer.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
test/codegen/README
test/codegen/floats.go
test/codegen/math.go
test/run.go