diff --git a/test/runtests.jl b/test/runtests.jl index e29bb5708..b1d2d03e6 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -20,7 +20,7 @@ else ("LD_LIBRARY_PATH", ":") end function with_libgfortran(f::Function) - libpath_list = [csl_path split(get(ENV, LIBPATH_var, ""), envsep)] + libpath_list = [csl_path, split(get(ENV, LIBPATH_var, ""), envsep)...] libpath = join(filter(x -> !isempty(x), libpath_list), envsep) withenv(f, LIBPATH_var => libpath) end