diff --git a/test/runtests.jl b/test/runtests.jl index 65914bd..f3eb9cb 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,11 +1,11 @@ using ParetoSmoothedImportanceSampling, StanSample using Test -if haskey(ENV, "JULIA_CMDSTAN_HOME") +if haskey(ENV, "JULIA_CMDSTAN_HOME") || haskey(ENV, "CMDSTAN") ProjDir = @__DIR__ include(joinpath(ProjDir, "test_demo_wells.jl")) else - println("\nJULIA_CMDSTAN_HOME not set. Skipping tests") + println("\nCmdStan or JULIA_CMDSTAN_HOME not set. Skipping tests") end