]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo/internal/testcarchive: fix nocgo and no-c-archive builds
authorAustin Clements <austin@google.com>
Fri, 19 May 2023 01:46:55 +0000 (21:46 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 19 May 2023 02:15:30 +0000 (02:15 +0000)
commit8f1031df779fa31da80b270474a737459dbd1726
treeb8dda8f9ba503d9b8b42600662f127a2f2f4152e
parent4088e97fc2234c85ee436e1a8e6a74468f9c63fb
cmd/cgo/internal/testcarchive: fix nocgo and no-c-archive builds

CL 495918 enabled testcarchive much more widely and added many dynamic
test skips. CL 495855 added TestDeepStack before these dynamic skips
were in. Unfortunately, the two CLs don't logically commute, so when
CL 495918 landed, it broke at least nocgo builders and platforms that
don't support c-archive builds. Fix this by adding the necessary skips
to TestDeepStack.

Change-Id: I3d352f731fe67a01c7b96871fde772db8eb21b5d
Reviewed-on: https://go-review.googlesource.com/c/go/+/496376
Auto-Submit: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
src/cmd/cgo/internal/testcarchive/carchive_test.go