]> Cypherpunks repositories - gostls13.git/commit
test: remove obsolete test case that misuses -p
authorMatthew Dempsky <mdempsky@google.com>
Fri, 18 Mar 2022 19:37:56 +0000 (12:37 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 24 Mar 2022 02:15:49 +0000 (02:15 +0000)
commitd14c02a20ca6937d46e4bf67e328627b773786b1
tree0b48a5459bcac0145e193ed4362d7a64007fda90
parent999589e14829e8c69517efa58d903bb9a7588da3
test: remove obsolete test case that misuses -p

bug302 compiles p.go with -p=p, and then manually creates a pp.a
archive, and imports it as both "p" and "pp". This is a misuse of
cmd/compile's -p flag, and it isn't representative of how any actual
Go build systems work anyway.

This test made sense back when cmd/compile still wrote out bare object
files, which was then split into separate __.PKGDEF and _go_.o archive
entries when added to a pack archive. But since CL 102236, cmd/compile
always writes out pack files.

Updates #51734.

Change-Id: I4b5de22d348ecc0a72c98b512351c2d267c77736
Reviewed-on: https://go-review.googlesource.com/c/go/+/393896
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
test/fixedbugs/bug302.dir/main.go [deleted file]
test/fixedbugs/bug302.dir/p.go [deleted file]
test/fixedbugs/bug302.go [deleted file]