Skip to content

Commit b55fb5f

Browse files
authored
choosetests: preparations for setting up a separate Buildkite job that runs the Pkg test suite (#42859)
1 parent 9ac5582 commit b55fb5f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/choosetests.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ function choosetests(choices = [])
122122
end
123123
end
124124

125+
explicit_pkg3 = ("Pkg" in tests) || ("Pkg/pkg" in tests)
126+
explicit_libgit2 = "LibGit2/online" in tests
127+
125128
filtertests!(tests, "unicode", ["unicode/utf8"])
126129
filtertests!(tests, "strings", ["strings/basic", "strings/search", "strings/util",
127130
"strings/io", "strings/types"])
@@ -163,8 +166,6 @@ function choosetests(choices = [])
163166
filter!(!in(tests), unhandled)
164167
filter!(!in(skip_tests), tests)
165168

166-
explicit_pkg3 = "Pkg/pkg" in tests
167-
explicit_libgit2 = "LibGit2/online" in tests
168169
new_tests = String[]
169170
for test in tests
170171
if test in STDLIBS
@@ -180,7 +181,8 @@ function choosetests(choices = [])
180181
end
181182
filter!(x -> (x != "stdlib" && !(x in STDLIBS)) , tests)
182183
append!(tests, new_tests)
183-
explicit_pkg3 || filter!(x -> x != "Pkg/pkg", tests)
184+
explicit_pkg3 || filter!(x -> x != "Pkg", tests)
185+
explicit_pkg3 || filter!(x -> x != "Pkg/pkg", tests)
184186
explicit_libgit2 || filter!(x -> x != "LibGit2/online", tests)
185187

186188
# Filter out tests from the test groups in the stdlibs

0 commit comments

Comments
 (0)