From d353c21827d55c5032d49fa206b27ac4ed2377f4 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Tue, 2 Nov 2021 01:32:55 -0400 Subject: [PATCH] `choosetests`: `Pkg/pkg` is no longer relevant (#42890) (cherry picked from commit 12b2ec731b1e53c750cd2003af0c37af853e65ee) --- test/choosetests.jl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/choosetests.jl b/test/choosetests.jl index 94dfb72792d99..281bd2593f988 100644 --- a/test/choosetests.jl +++ b/test/choosetests.jl @@ -93,8 +93,8 @@ function choosetests(choices = []) end end - explicit_pkg3 = ("Pkg" in tests) || ("Pkg/pkg" in tests) - explicit_libgit2 = "LibGit2/online" in tests + explicit_pkg3 = "Pkg" in tests + explicit_libgit2 = "LibGit2/online" in tests filtertests!(tests, "unicode", ["unicode/utf8"]) filtertests!(tests, "strings", ["strings/basic", "strings/search", "strings/util", @@ -151,7 +151,6 @@ function choosetests(choices = []) filter!(x -> (x != "stdlib" && !(x in STDLIBS)) , tests) append!(tests, new_tests) explicit_pkg3 || filter!(x -> x != "Pkg", tests) - explicit_pkg3 || filter!(x -> x != "Pkg/pkg", tests) explicit_libgit2 || filter!(x -> x != "LibGit2/online", tests) # Filter out tests from the test groups in the stdlibs