diff --git a/test/runtests.jl b/test/runtests.jl index 97ccc86d..26397a61 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -9,8 +9,8 @@ println("Optimizer version: $(Xpress.get_version())") "xprs_callbacks", "Derivative", ] - @testset "$(file)" for file in readdir(folder) - include(joinpath(folder, file)) + @testset "$(file)" for file in readdir(joinpath(@__DIR__, folder)) + include(joinpath(@__DIR__, folder, file)) end end