]> Cypherpunks repositories - gostls13.git/commit
os: simplify ios checks in tests
authorTobias Klauser <tklauser@distanz.ch>
Thu, 30 Dec 2021 13:06:30 +0000 (14:06 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Sun, 2 Jan 2022 14:27:43 +0000 (14:27 +0000)
commitc8861432b84157363c84220e6ed71180531bf2b4
tree13803653a90882a5265550b4f09494c7d8fb845d
parentd181885de8f718623b41d45f5cc8644bbd8ad318
os: simplify ios checks in tests

Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and
darwin/arm64 was repurposed for the macOS ARM64 port (see
https://golang.org/doc/go1.16#darwin).

Change tests to only use GOOS=ios to detect special cases for iOS and
stop treating darwin/arm64 as iOS.

Change-Id: I6a19f16fa9ec159ab1386aeb8fe912585e457171
Reviewed-on: https://go-review.googlesource.com/c/go/+/374399
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/os/os_test.go