Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI (Buildkite): choosetests: preparations for setting up a separate Buildkite job that runs the Pkg test suite #42859

Merged
merged 1 commit into from
Nov 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions test/choosetests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ function choosetests(choices = [])
end
end

explicit_pkg3 = ("Pkg" in tests) || ("Pkg/pkg" in tests)
explicit_libgit2 = "LibGit2/online" in tests

filtertests!(tests, "unicode", ["unicode/utf8"])
filtertests!(tests, "strings", ["strings/basic", "strings/search", "strings/util",
"strings/io", "strings/types"])
Expand Down Expand Up @@ -163,8 +166,6 @@ function choosetests(choices = [])
filter!(!in(tests), unhandled)
filter!(!in(skip_tests), tests)

explicit_pkg3 = "Pkg/pkg" in tests
explicit_libgit2 = "LibGit2/online" in tests
new_tests = String[]
for test in tests
if test in STDLIBS
Expand All @@ -180,7 +181,8 @@ function choosetests(choices = [])
end
filter!(x -> (x != "stdlib" && !(x in STDLIBS)) , tests)
append!(tests, new_tests)
explicit_pkg3 || filter!(x -> x != "Pkg/pkg", 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
Expand Down