Skip to content

Commit

Permalink
make help test unixonly
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Jan 5, 2015
1 parent 8301aa6 commit 9ac4e71
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 @@ -6,8 +6,10 @@ let exename = joinpath(JULIA_HOME, (ccall(:jl_is_debugbuild, Cint, ()) == 0 ? "j
@test readall(`$exename -v`) == readall(`$exename --version`)

# --help
@test startswith(readall(`$exename -h`), "julia [options] [program] [args...]")
@test startswith(readall(`$exename --help`), "julia [options] [program] [args...]")
@unix_only begin
@test startswith(readall(`$exename -h`), "julia [options] [program] [args...]")
@test startswith(readall(`$exename --help`), "julia [options] [program] [args...]")
end

# --quiet
# This flag is indirectly tested in test/repl.jl
Expand Down

0 comments on commit 9ac4e71

Please sign in to comment.