@@ -110,9 +110,13 @@ function choosetests(choices = [])
110
110
111
111
unhandled = copy (skip_tests)
112
112
113
- if tests == [" all" ] || isempty (tests)
114
- tests = TESTNAMES
113
+ requested_all = " all" in tests
114
+ requested_default = " default" in tests
115
+ if isempty (tests) || requested_all || requested_default
116
+ append! (tests, TESTNAMES)
115
117
end
118
+ filter! (x -> x != " all" , tests)
119
+ filter! (x -> x != " default" , tests)
116
120
117
121
function filtertests! (tests, name, files= [name])
118
122
flt = x -> (x != name && ! (x in files))
@@ -125,7 +129,7 @@ function choosetests(choices = [])
125
129
end
126
130
end
127
131
128
- explicit_pkg3 = " Pkg" in tests
132
+ explicit_pkg = " Pkg" in tests
129
133
explicit_libgit2 = " LibGit2/online" in tests
130
134
131
135
filtertests! (tests, " unicode" , [" unicode/utf8" ])
@@ -189,8 +193,9 @@ function choosetests(choices = [])
189
193
end
190
194
filter! (x -> (x != " stdlib" && ! (x in STDLIBS)) , tests)
191
195
append! (tests, new_tests)
192
- explicit_pkg3 || filter! (x -> x != " Pkg" , tests)
193
- explicit_libgit2 || filter! (x -> x != " LibGit2/online" , tests)
196
+
197
+ requested_all || explicit_pkg || filter! (x -> x != " Pkg" , tests)
198
+ requested_all || explicit_libgit2 || filter! (x -> x != " LibGit2/online" , tests)
194
199
195
200
# Filter out tests from the test groups in the stdlibs
196
201
filter! (! in (tests), unhandled)
0 commit comments