-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-branch.go1.14] cmd/go: convert TestBuildIDContainsArchModeEn…
…v to the script framework Part of converting all tests to script framework to improve test parallelism. Fixes #39824 Updates #36320 Updates #17751 Change-Id: I69c69809fb1698c8198ef3ea00103a9acb7b6ce7 Reviewed-on: https://go-review.googlesource.com/c/go/+/214387 Run-TryBot: Michael Matloob <[email protected]> Reviewed-by: Jay Conrod <[email protected]> (cherry picked from CL 214387) Reviewed-on: https://go-review.googlesource.com/c/go/+/239738 Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Matloob <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
- Loading branch information
1 parent
67d894e
commit efed90a
Showing
2 changed files
with
27 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Issue 9737: verify that GOARM and GO386 affect the computed build ID | ||
|
||
[short] skip | ||
|
||
# 386 | ||
cd $GOPATH/src/mycmd | ||
env GOOS=linux | ||
env GOARCH=386 | ||
env GO386=387 | ||
go install mycmd | ||
env GO386=sse2 | ||
stale mycmd | ||
|
||
# arm | ||
cd $GOPATH/src/mycmd | ||
env GOOS=linux | ||
env GOARCH=arm | ||
env GOARM=5 | ||
go install mycmd | ||
env GOARM=7 | ||
stale mycmd | ||
|
||
|
||
-- mycmd/x.go -- | ||
package main | ||
|
||
func main() {} |