Skip to content

Commit 6b86bd0

Browse files
committed
Re-enable tests
1 parent 0f51b74 commit 6b86bd0

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

test/runtests.jl

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,16 @@
33
# v.2.0. If a copy of the MPL was not distributed with this file, You can
44
# obtain one at http://mozilla.org/MPL/2.0/.
55

6-
include("algorithms/test_GeneralDichotomy.jl")
6+
is_test_file(f) = startswith(f, "test_") && endswith(f, ".jl")
77

8-
# is_test_file(f) = startswith(f, "test_") && endswith(f, ".jl")
8+
testsuite = Dict{String,Expr}()
9+
for (root, dirs, files) in walkdir(@__DIR__)
10+
for file in joinpath.(root, filter(is_test_file, files))
11+
testsuite[file] = :(include($file))
12+
end
13+
end
914

10-
# testsuite = Dict{String,Expr}()
11-
# for (root, dirs, files) in walkdir(@__DIR__)
12-
# for file in joinpath.(root, filter(is_test_file, files))
13-
# testsuite[file] = :(include($file))
14-
# end
15-
# end
15+
import MultiObjectiveAlgorithms
16+
import ParallelTestRunner
1617

17-
# import MultiObjectiveAlgorithms
18-
# import ParallelTestRunner
19-
20-
# ParallelTestRunner.runtests(MultiObjectiveAlgorithms, ARGS; testsuite)
18+
ParallelTestRunner.runtests(MultiObjectiveAlgorithms, ARGS; testsuite)

0 commit comments

Comments
 (0)