From 6087f63efefc5f5ecbc918ec788a2f71cf478488 Mon Sep 17 00:00:00 2001 From: Son Luong Ngoc Date: Mon, 11 Sep 2023 17:58:45 +0200 Subject: [PATCH] Update popular_repos - Upgrade x/crypto to v0.13.0 - Switch to use commit instead of http - Remove irrelevant excludes - Remove `darwin_tests` (never used) - Add support for `build_excludes` to exclude incompatible non-test targets - Exclude @org_golang_x_crypto//nacl/secretbox:secretbox_test --- tests/integration/popular_repos/BUILD.bazel | 17 +++++----- tests/integration/popular_repos/README.rst | 11 +++++-- .../popular_repos/popular_repos.bzl | 4 +-- .../popular_repos/popular_repos.py | 32 +++++++++---------- 4 files changed, 34 insertions(+), 30 deletions(-) diff --git a/tests/integration/popular_repos/BUILD.bazel b/tests/integration/popular_repos/BUILD.bazel index 7b92e2c83d..75c7afd65a 100644 --- a/tests/integration/popular_repos/BUILD.bazel +++ b/tests/integration/popular_repos/BUILD.bazel @@ -30,17 +30,16 @@ test_suite( "@org_golang_x_crypto//blowfish:blowfish_test", "@org_golang_x_crypto//bn256:bn256_test", "@org_golang_x_crypto//cast5:cast5_test", - "@org_golang_x_crypto//chacha20:chacha20_test", "@org_golang_x_crypto//chacha20poly1305:chacha20poly1305_test", "@org_golang_x_crypto//cryptobyte:cryptobyte_test", "@org_golang_x_crypto//curve25519:curve25519_test", "@org_golang_x_crypto//ed25519:ed25519_test", "@org_golang_x_crypto//hkdf:hkdf_test", + "@org_golang_x_crypto//internal/chacha20:chacha20_test", "@org_golang_x_crypto//internal/subtle:subtle_test", "@org_golang_x_crypto//md4:md4_test", "@org_golang_x_crypto//nacl/auth:auth_test", "@org_golang_x_crypto//nacl/box:box_test", - "@org_golang_x_crypto//nacl/secretbox:secretbox_test", "@org_golang_x_crypto//nacl/sign:sign_test", "@org_golang_x_crypto//ocsp:ocsp_test", "@org_golang_x_crypto//openpgp:openpgp_test", @@ -59,8 +58,8 @@ test_suite( "@org_golang_x_crypto//salsa20/salsa:salsa_test", "@org_golang_x_crypto//scrypt:scrypt_test", "@org_golang_x_crypto//sha3:sha3_test", - "@org_golang_x_crypto//ssh/internal/bcrypt_pbkdf:bcrypt_pbkdf_test", "@org_golang_x_crypto//ssh/knownhosts:knownhosts_test", + "@org_golang_x_crypto//ssh/terminal:terminal_test", "@org_golang_x_crypto//tea:tea_test", "@org_golang_x_crypto//twofish:twofish_test", "@org_golang_x_crypto//xtea:xtea_test", @@ -89,6 +88,7 @@ test_suite( "@org_golang_x_net//netutil:netutil_test", "@org_golang_x_net//proxy:proxy_test", "@org_golang_x_net//publicsuffix:publicsuffix_test", + "@org_golang_x_net//route:route_test", "@org_golang_x_net//trace:trace_test", "@org_golang_x_net//webdav:webdav_test", "@org_golang_x_net//webdav/internal/xml:xml_test", @@ -105,6 +105,7 @@ test_suite( "@org_golang_x_sys//internal/unsafeheader:unsafeheader_test", "@org_golang_x_sys//plan9:plan9_test", "@org_golang_x_sys//unix/internal/mkmerge:mkmerge_test", + "@org_golang_x_sys//windows/mkwinsyscall:mkwinsyscall_test", "@org_golang_x_sys//windows/registry:registry_test", "@org_golang_x_sys//windows/svc:svc_test", "@org_golang_x_sys//windows/svc/eventlog:eventlog_test", @@ -167,8 +168,10 @@ test_suite( "@org_golang_x_tools//cmd/splitdwarf/internal/macho:macho_test", "@org_golang_x_tools//cover:cover_test", "@org_golang_x_tools//go/analysis:analysis_test", + "@org_golang_x_tools//go/analysis/passes/directive/testdata/src/a:a_test", "@org_golang_x_tools//go/analysis/passes/internal/analysisutil:analysisutil_test", "@org_golang_x_tools//go/ast/astutil:astutil_test", + "@org_golang_x_tools//go/callgraph:callgraph_test", "@org_golang_x_tools//go/callgraph/static:static_test", "@org_golang_x_tools//go/callgraph/vta/internal/trie:trie_test", "@org_golang_x_tools//go/cfg:cfg_test", @@ -192,6 +195,8 @@ test_suite( "@org_golang_x_tools//internal/jsonrpc2:jsonrpc2_test", "@org_golang_x_tools//internal/jsonrpc2/servertest:servertest_test", "@org_golang_x_tools//internal/jsonrpc2_v2:jsonrpc2_v2_test", + "@org_golang_x_tools//internal/lockedfile:lockedfile_test", + "@org_golang_x_tools//internal/lockedfile/internal/filelock:filelock_test", "@org_golang_x_tools//internal/memoize:memoize_test", "@org_golang_x_tools//internal/persistent:persistent_test", "@org_golang_x_tools//internal/proxydir:proxydir_test", @@ -246,7 +251,6 @@ build_test( "@org_golang_x_net//icmp:icmp", "@org_golang_x_net//nettest:nettest", "@org_golang_x_net//lif:lif", - "@org_golang_x_net//route:route", "@org_golang_x_sys//unix:unix", "@org_golang_x_sys//windows:windows", "@org_golang_x_text//encoding/charmap:charmap", @@ -257,12 +261,10 @@ build_test( "@org_golang_x_text//encoding/unicode/utf32:utf32", "@org_golang_x_text//encoding/unicode:unicode", "@org_golang_x_text//message/pipeline:pipeline", - "@org_golang_x_tools//blog:blog", "@org_golang_x_tools//cmd/bundle:bundle", "@org_golang_x_tools//cmd/callgraph:callgraph", "@org_golang_x_tools//cmd/file2fuzz:file2fuzz", "@org_golang_x_tools//cmd/fiximports:fiximports", - "@org_golang_x_tools//cmd/godoc:godoc", "@org_golang_x_tools//cmd/gorename:gorename", "@org_golang_x_tools//cmd/guru:guru", "@org_golang_x_tools//cmd/signature-fuzzer/fuzz-driver:fuzz-driver", @@ -284,6 +286,7 @@ build_test( "@org_golang_x_tools//go/analysis/passes/copylock:copylock", "@org_golang_x_tools//go/analysis/passes/ctrlflow:ctrlflow", "@org_golang_x_tools//go/analysis/passes/deepequalerrors:deepequalerrors", + "@org_golang_x_tools//go/analysis/passes/directive:directive", "@org_golang_x_tools//go/analysis/passes/errorsas:errorsas", "@org_golang_x_tools//go/analysis/passes/fieldalignment:fieldalignment", "@org_golang_x_tools//go/analysis/passes/findcall:findcall", @@ -334,8 +337,6 @@ build_test( "@org_golang_x_tools//go/types/objectpath:objectpath", "@org_golang_x_tools//godoc/static:static", "@org_golang_x_tools//godoc/vfs/zipfs:zipfs", - "@org_golang_x_tools//godoc:godoc", - "@org_golang_x_tools//present:present", "@org_golang_x_tools//refactor/eg:eg", "@org_golang_x_tools//refactor/importgraph:importgraph", "@org_golang_x_tools//refactor/rename:rename", diff --git a/tests/integration/popular_repos/README.rst b/tests/integration/popular_repos/README.rst index ad071a377e..66f85a843f 100644 --- a/tests/integration/popular_repos/README.rst +++ b/tests/integration/popular_repos/README.rst @@ -22,17 +22,16 @@ This runs tests from the repository `golang.org/x/crypto * @org_golang_x_net//netutil:netutil_test * @org_golang_x_net//proxy:proxy_test * @org_golang_x_net//publicsuffix:publicsuffix_test +* @org_golang_x_net//route:route_test * @org_golang_x_net//trace:trace_test * @org_golang_x_net//webdav:webdav_test * @org_golang_x_net//webdav/internal/xml:xml_test @@ -99,6 +99,7 @@ This runs tests from the repository `golang.org/x/sys * @org_golang_x_sys//internal/unsafeheader:unsafeheader_test * @org_golang_x_sys//plan9:plan9_test * @org_golang_x_sys//unix/internal/mkmerge:mkmerge_test +* @org_golang_x_sys//windows/mkwinsyscall:mkwinsyscall_test * @org_golang_x_sys//windows/registry:registry_test * @org_golang_x_sys//windows/svc:svc_test * @org_golang_x_sys//windows/svc/eventlog:eventlog_test @@ -163,8 +164,10 @@ This runs tests from the repository `golang.org/x/tools