Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions test/Integrators_I/step_limiter_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ using OrdinaryDiffEqExtrapolation
using OrdinaryDiffEqFIRK: AdaptiveRadau, RadauIIA9, RadauIIA5, RadauIIA3
using LinearAlgebra

@testset "Tests use local monorepo sources" begin
repo = normpath(joinpath(@__DIR__, "..", ".."))
@test pkgdir(OrdinaryDiffEqCore) == joinpath(repo, "lib", "OrdinaryDiffEqCore")
@test pkgdir(OrdinaryDiffEqLowOrderRK) == joinpath(repo, "lib", "OrdinaryDiffEqLowOrderRK")
@test pkgdir(OrdinaryDiffEqSSPRK) == joinpath(repo, "lib", "OrdinaryDiffEqSSPRK")
end

# define the counting variable
const STEP_LIMITER_VAR = Ref(0)
# define the step_limiter! function which just counts the number of step_limiter calls
Expand Down
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ end
Pkg.test(base_group, julia_args = ["--check-bounds=auto", "--compiled-modules=yes", "--depwarn=yes"], force_latest_compatible_version = false, allow_reresolve = true)
end
else
# Julia 1.10 does not resolve root [sources], so develop local sublibraries explicitly.
develop_sources!(dirname(@__DIR__))

# Root-package group dispatch. `run_tests` owns the All / Interface /
# Integrators / Regression / QA / functional-group routing that the old
# hand-written `if GROUP == ...` ladder expressed. The group bodies
Expand Down
Loading