Skip to content

Commit

Permalink
Skip Windows --project tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf committed May 14, 2019
1 parent 771c76b commit 82adc7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/cmdlineargs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ let exename = `$(Base.julia_cmd()) --startup-file=no`

# --project
let expanded = abspath(expanduser("~/foo"))
@test occursin(expanded, readchomp(`$exename --project='~/foo' -E 'Base.active_project()'`))
@test occursin(expanded, readchomp(setenv(`$exename -E 'Base.active_project()'`, "JULIA_PROJECT"=>"~/foo")))
if(!Sys.iswindows())
@test occursin(expanded, readchomp(`$exename --project='~/foo' -E 'Base.active_project()'`))
@test occursin(expanded, readchomp(setenv(`$exename -E 'Base.active_project()'`, "JULIA_PROJECT"=>"~/foo")))
end
end

# --quiet, --banner
Expand Down

0 comments on commit 82adc7b

Please sign in to comment.