Skip to content

Commit

Permalink
Rel 1.2.0 - Test for either CMDSTAN or JULIA_CMDSTAN_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
goedman committed Dec 6, 2021
1 parent 7634137 commit 842f632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 842f632

Please sign in to comment.