Skip to content

Commit 8d72096

Browse files
committed
[release-branch.go1.12] cmd/vendor: remove _test.go and testdata files
Binary files included in testdata directories can cause Apple’s notarization service to reject us since they don’t abide by their strict requirements. To emulate go mod vendor, remove all _test.go and testdata files from the vendor directory and update the instructions. Updates #34986 Fixes #35747 Change-Id: I5cde905fc78838d2e3b1519dab4aeee13d8d5356 Reviewed-on: https://go-review.googlesource.com/c/go/+/208227 Run-TryBot: Andrew Bonventre <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Alexander Rakoczy <[email protected]>
1 parent a106f55 commit 8d72096

File tree

196 files changed

+17
-47407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+17
-47407
lines changed

misc/nacl/testzip.proto

+10-20
Original file line numberDiff line numberDiff line change
@@ -48,43 +48,33 @@ go src=..
4848
pprof
4949
internal
5050
binutils
51-
testdata
52-
+
51+
+
5352
driver
54-
testdata
55-
+
53+
+
5654
graph
57-
testdata
58-
+
55+
+
5956
report
60-
testdata
61-
+
62-
profile
63-
testdata
6457
+
58+
profile
59+
+
6560
ianlancetaylor
6661
demangle
67-
testdata
68-
+
62+
+
6963
golang.org
7064
x
7165
arch
7266
arm
7367
armasm
74-
testdata
75-
+
68+
+
7669
arm64
7770
arm64asm
78-
testdata
79-
+
71+
+
8072
x86
8173
x86asm
82-
testdata
83-
+
74+
+
8475
ppc64
8576
ppc64asm
86-
testdata
87-
+
77+
+
8878
archive
8979
tar
9080
testdata

src/cmd/vendor/README

+7-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,10 @@ commit by accident.
2222

2323
The vendored copy of golang.org/x/tools is maintained by
2424
running the update-xtools.sh script in this directory,
25-
not by govendor.
25+
not by govendor.
26+
27+
Please ensure that you remove all *_test.go and testdata
28+
files after updating (golang.org/issue/34986).
29+
30+
$ cd $GOROOT/src/cmd
31+
$ find vendor | grep -E '_test.go|testdata' | xargs rm -rf

0 commit comments

Comments
 (0)