|
3 | 3 | # v.2.0. If a copy of the MPL was not distributed with this file, You can |
4 | 4 | # obtain one at http://mozilla.org/MPL/2.0/. |
5 | 5 |
|
6 | | -include("algorithms/test_GeneralDichotomy.jl") |
| 6 | +is_test_file(f) = startswith(f, "test_") && endswith(f, ".jl") |
7 | 7 |
|
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 |
9 | 14 |
|
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 |
16 | 17 |
|
17 | | -# import MultiObjectiveAlgorithms |
18 | | -# import ParallelTestRunner |
19 | | - |
20 | | -# ParallelTestRunner.runtests(MultiObjectiveAlgorithms, ARGS; testsuite) |
| 18 | +ParallelTestRunner.runtests(MultiObjectiveAlgorithms, ARGS; testsuite) |
0 commit comments