File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ demumble_jll = "1e29f10c-031c-5a83-9565-69cddfc27673"
1717
1818[compat ]
1919Aqua = " 0.8"
20- ParallelTestRunner = " 1"
2120LLVM_jll = " 15,16,18,20"
21+ ParallelTestRunner = " 2"
Original file line number Diff line number Diff line change @@ -15,18 +15,25 @@ const init_code = quote
1515 using . FileCheck
1616end
1717
18- function test_filter (test)
19- if startswith (test, " helpers/" )
20- return false
18+ testsuite = find_tests (@__DIR__ )
19+ args = parse_args (ARGS )
20+
21+ if filter_tests! (testsuite, args)
22+ helperkeys = String[]
23+ for key in collect (keys (testsuite))
24+ startswith (key, " helpers/" ) && push! (helperkeys, key)
25+ end
26+ for key in helperkeys
27+ delete! (testsuite, key)
2128 end
29+
2230 if LLVM. is_asserts () && test == " gcn"
23- # XXX : GCN's non-0 stack address space triggers LLVM assertions due to Julia bugs
24- return false
25- end
26- if VERSION < v " 1.11" && test in (" ptx/precompile" , " native/precompile" )
27- return false
28- end
29- return true
31+ delete! (testsuite, " gcn" )
32+ end
33+ if VERSION < v " 1.11"
34+ delete! (testsuite, " ptx/precompile" )
35+ delete! (testsuite, " native/precompile" )
36+ end
3037end
3138
32- runtests (GPUCompiler, ARGS ; init_code, test_filter )
39+ runtests (GPUCompiler, args; testsuite, init_code )
You can’t perform that action at this time.
0 commit comments