Skip to content

Commit 7e535bb

Browse files
committed
Update
1 parent 06fa163 commit 7e535bb

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

test/runtests.jl

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ const init_code = quote
6161
end
6262
end
6363

64-
import MathOptInterface
65-
import ParallelTestRunner
66-
6764
is_test_file(f) = startswith(f, "test_") && endswith(f, ".jl")
6865

6966
testsuite = Dict{String,Expr}(
@@ -73,4 +70,13 @@ testsuite = Dict{String,Expr}(
7370
file in joinpath.(root, filter(is_test_file, files))
7471
)
7572

76-
ParallelTestRunner.runtests(MathOptInterface, ARGS; testsuite, init_code)
73+
@static if Sys.WORD_SIZE == 64
74+
import MathOptInterface
75+
import ParallelTestRunner
76+
ParallelTestRunner.runtests(MathOptInterface, ARGS; testsuite, init_code)
77+
else
78+
import Test
79+
Test.@test "$filename" for (filename, _) in testsuite
80+
include(filename)
81+
end
82+
end

0 commit comments

Comments
 (0)