• Giovanni Bajo's avatar
    test: run codegen tests on all supported architecture variants · 284ba47b
    Giovanni Bajo authored
    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: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    284ba47b
math.go 3.62 KB