Skip to content

Commit 2957e33

Browse files
committed
Update to ParallelTestRunner@1.0
1 parent 6c9dc96 commit 2957e33

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1111
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1212

1313
[compat]
14-
ParallelTestRunner = "0.1.2"
14+
ParallelTestRunner = "1"

test/runtests.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using ParallelTestRunner
1+
using ParallelTestRunner: runtests
2+
import GPUArrays
23

34
include("testsuite.jl")
45

@@ -19,11 +20,11 @@ for AT in (:JLArray, :Array), name in keys(TestSuite.tests)
1920
custom_tests["$(AT)/$name"] = :(TestSuite.tests[$name]($AT))
2021
end
2122

22-
function testfilter(test)
23+
function test_filter(test)
2324
if startswith(test, "testsuite")
2425
return false
2526
end
2627
return true
2728
end
2829

29-
runtests(ARGS; init_code, custom_tests, testfilter)
30+
runtests(GPUArrays, ARGS; init_code, custom_tests, test_filter)

0 commit comments

Comments
 (0)