Skip to content

Commit

Permalink
BUG: use absolute path for the test search in runtest.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
enigne committed Jan 6, 2025
1 parent 2fa48ca commit b2ec0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include("utils.jl")
@time @testset "Model Struct Tests" begin include("modelstructtests.jl") end

# test each individual cases, name with test[0-9]*.jl
testsolutions = searchdir("./", r"test\d+.jl")
testsolutions = searchdir(joinpath(dirname(pathof(DJUICE)), "../test/"), r"test\d+.jl")
for tf in testsolutions
@time @testset "Model Solution Tests: $tf" begin
# check the results vs. saved archive
Expand Down

0 comments on commit b2ec0a2

Please sign in to comment.