Skip to content

Commit c8a94c6

Browse files
committed
Revert "Remove --parallel=false workaround in the tests (#346)"
This reverts commit 63c86ce.
1 parent 63c86ce commit c8a94c6

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

test/runtests.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import HiGHS
77
import ParallelTestRunner
8+
import Test
89

910
is_test_file(f) = startswith(f, "test_") && endswith(f, ".jl")
1011

@@ -15,4 +16,10 @@ for (root, dirs, files) in walkdir(@__DIR__)
1516
end
1617
end
1718

18-
ParallelTestRunner.runtests(HiGHS, ARGS; testsuite)
19+
if "--parallel=false" in ARGS
20+
Test.@testset "$file" for file in keys(testsuite)
21+
include(file)
22+
end
23+
else
24+
ParallelTestRunner.runtests(HiGHS, ARGS; testsuite)
25+
end

0 commit comments

Comments
 (0)