@@ -5,6 +5,32 @@ using Random, Sockets
5
5
const STDLIB_DIR = Sys. STDLIB
6
6
const STDLIBS = filter! (x -> isfile (joinpath (STDLIB_DIR, x, " src" , " $(x) .jl" )), readdir (STDLIB_DIR))
7
7
8
+ const TESTNAMES = [
9
+ " subarray" , " core" , " compiler" , " worlds" , " atomics" ,
10
+ " keywordargs" , " numbers" , " subtype" ,
11
+ " char" , " strings" , " triplequote" , " unicode" , " intrinsics" ,
12
+ " dict" , " hashing" , " iobuffer" , " staged" , " offsetarray" ,
13
+ " arrayops" , " tuple" , " reduce" , " reducedim" , " abstractarray" ,
14
+ " intfuncs" , " simdloop" , " vecelement" , " rational" ,
15
+ " bitarray" , " copy" , " math" , " fastmath" , " functional" , " iterators" ,
16
+ " operators" , " ordering" , " path" , " ccall" , " parse" , " loading" , " gmp" ,
17
+ " sorting" , " spawn" , " backtrace" , " exceptions" ,
18
+ " file" , " read" , " version" , " namedtuple" ,
19
+ " mpfr" , " broadcast" , " complex" ,
20
+ " floatapprox" , " stdlib" , " reflection" , " regex" , " float16" ,
21
+ " combinatorics" , " sysinfo" , " env" , " rounding" , " ranges" , " mod2pi" ,
22
+ " euler" , " show" , " client" ,
23
+ " errorshow" , " sets" , " goto" , " llvmcall" , " llvmcall2" , " ryu" ,
24
+ " some" , " meta" , " stacktraces" , " docs" ,
25
+ " misc" , " threads" , " stress" , " binaryplatforms" , " atexit" ,
26
+ " enums" , " cmdlineargs" , " int" , " interpreter" ,
27
+ " checked" , " bitset" , " floatfuncs" , " precompile" ,
28
+ " boundscheck" , " error" , " ambiguous" , " cartesian" , " osutils" ,
29
+ " channels" , " iostream" , " secretbuffer" , " specificity" ,
30
+ " reinterpretarray" , " syntax" , " corelogging" , " missing" , " asyncmap" ,
31
+ " smallarrayshrink" , " opaque_closure" , " filesystem" , " download"
32
+ ]
33
+
8
34
"""
9
35
10
36
`tests, net_on, exit_on_error, seed = choosetests(choices)` selects a set of tests to be
@@ -32,32 +58,6 @@ in the `choices` argument:
32
58
This option can be used to reproduce failed tests.
33
59
"""
34
60
function choosetests (choices = [])
35
- testnames = [
36
- " subarray" , " core" , " compiler" , " worlds" , " atomics" ,
37
- " keywordargs" , " numbers" , " subtype" ,
38
- " char" , " strings" , " triplequote" , " unicode" , " intrinsics" ,
39
- " dict" , " hashing" , " iobuffer" , " staged" , " offsetarray" ,
40
- " arrayops" , " tuple" , " reduce" , " reducedim" , " abstractarray" ,
41
- " intfuncs" , " simdloop" , " vecelement" , " rational" ,
42
- " bitarray" , " copy" , " math" , " fastmath" , " functional" , " iterators" ,
43
- " operators" , " ordering" , " path" , " ccall" , " parse" , " loading" , " gmp" ,
44
- " sorting" , " spawn" , " backtrace" , " exceptions" ,
45
- " file" , " read" , " version" , " namedtuple" ,
46
- " mpfr" , " broadcast" , " complex" ,
47
- " floatapprox" , " stdlib" , " reflection" , " regex" , " float16" ,
48
- " combinatorics" , " sysinfo" , " env" , " rounding" , " ranges" , " mod2pi" ,
49
- " euler" , " show" , " client" ,
50
- " errorshow" , " sets" , " goto" , " llvmcall" , " llvmcall2" , " ryu" ,
51
- " some" , " meta" , " stacktraces" , " docs" ,
52
- " misc" , " threads" , " stress" , " binaryplatforms" , " atexit" ,
53
- " enums" , " cmdlineargs" , " int" , " interpreter" ,
54
- " checked" , " bitset" , " floatfuncs" , " precompile" ,
55
- " boundscheck" , " error" , " ambiguous" , " cartesian" , " osutils" ,
56
- " channels" , " iostream" , " secretbuffer" , " specificity" ,
57
- " reinterpretarray" , " syntax" , " corelogging" , " missing" , " asyncmap" ,
58
- " smallarrayshrink" , " opaque_closure" , " filesystem" , " download"
59
- ]
60
-
61
61
tests = []
62
62
skip_tests = []
63
63
exit_on_error = false
@@ -80,7 +80,7 @@ function choosetests(choices = [])
80
80
end
81
81
82
82
if tests == [" all" ] || isempty (tests)
83
- tests = testnames
83
+ tests = TESTNAMES
84
84
end
85
85
86
86
function filtertests! (tests, name, files= [name])
0 commit comments