Skip to content

Commit

Permalink
split tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Aug 18, 2018
1 parent 0c87710 commit ec5ca6b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 20 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -9,6 +9,9 @@ julia:
matrix:
allow_failures:
- julia: nightly
env:
- GROUP=Interface
- GROUP=Integrators
notifications:
email: false
# uncomment the following lines to override the default test script
Expand Down
55 changes: 35 additions & 20 deletions test/runtests.jl
Expand Up @@ -8,25 +8,40 @@ import DiffEqProblemLibrary.DDEProblemLibrary: prob_dde_1delay, prob_dde_1delay_
prob_dde_2delays_long_notinplace, prob_dde_2delays_long_scalar_notinplace,
prob_dde_mackey

tests = ["discontinuities.jl",
"history_function.jl",
"constrained.jl",
"unconstrained.jl",
"parameters.jl",
"retcode.jl",
"composite_solution.jl",
"dependent_delays.jl",
"reinit.jl",
"saveat.jl",
"save_idxs.jl",
"events.jl",
"units.jl",
"unique_times.jl",
"residual_control.jl",
"lazy_interpolants.jl",
"sdirk_integrators.jl",
"rosenbrock_integrators.jl"]
if haskey(ENV,"GROUP")
group = ENV["GROUP"]
else
group = "All"
end

is_APPVEYOR = ( Sys.iswindows() && haskey(ENV,"APPVEYOR") )

for test in tests
@time include(test)
if group == "All" || group == "Interface"
tests = ["discontinuities.jl",
"history_function.jl",
"parameters.jl",
"retcode.jl",
"composite_solution.jl",
"dependent_delays.jl",
"reinit.jl",
"saveat.jl",
"save_idxs.jl",
"events.jl",
"units.jl",
"unique_times.jl"
]
for test in tests
@time include(test)
end
elseif group == "All" || group == "Integrators"
tests = ["constrained.jl",
"unconstrained.jl",
"residual_control.jl",
"lazy_interpolants.jl",
"sdirk_integrators.jl",
"rosenbrock_integrators.jl"
]
for test in tests
@time include(test)
end
end

0 comments on commit ec5ca6b

Please sign in to comment.