From b2ec0a2dcbc71d2389806a8bdc89726efaab39b0 Mon Sep 17 00:00:00 2001 From: enigne Date: Mon, 6 Jan 2025 10:22:15 -0500 Subject: [PATCH] BUG: use absolute path for the test search in runtest.jl --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 7ca42f9..74bcc94 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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