We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06fa163 commit 7e535bbCopy full SHA for 7e535bb
1 file changed
test/runtests.jl
@@ -61,9 +61,6 @@ const init_code = quote
61
end
62
63
64
-import MathOptInterface
65
-import ParallelTestRunner
66
-
67
is_test_file(f) = startswith(f, "test_") && endswith(f, ".jl")
68
69
testsuite = Dict{String,Expr}(
@@ -73,4 +70,13 @@ testsuite = Dict{String,Expr}(
73
70
file in joinpath.(root, filter(is_test_file, files))
74
71
)
75
72
76
-ParallelTestRunner.runtests(MathOptInterface, ARGS; testsuite, init_code)
+@static if Sys.WORD_SIZE == 64
+ import MathOptInterface
+ import ParallelTestRunner
+ 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