]> Cypherpunks repositories - gostls13.git/commit
cmd/link: fix TestDWARFiOS
authorCherry Zhang <cherryyz@google.com>
Sat, 17 Oct 2020 01:42:01 +0000 (21:42 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 19 Oct 2020 18:31:39 +0000 (18:31 +0000)
commit2ff9e01d72f718ef61c635a25db6d2084aef95eb
treeda270bc13996c049ad9def96a56e03866117b971
parent0040adfd0f98e1012837b0317fabf69cf1f8855b
cmd/link: fix TestDWARFiOS

Use GOOS=ios.

Run "xcodebuild -showsdks" correctly.

Wrap testDWARF in subtests, as it calls t.Parallel, otherwise
the two calls of testDWARF will cause t.Parallel being called
twice, which panics.

Updates #38485.

Change-Id: I614c8daa99c83cbfd05a4cfa041968d49279f16a
Reviewed-on: https://go-review.googlesource.com/c/go/+/263639
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/dwarf_test.go