Skip to content

Commit

Permalink
fix dlopen_e in cmdlineargs test
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Mar 9, 2015
1 parent a016174 commit 8725fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cmdlineargs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ let exename = joinpath(JULIA_HOME, Base.julia_exename())
# NOTE: this test only holds true when there is a sys.{dll,dylib,so} shared library present.
# The tests are also limited to unix platforms at the moment because loading the system image
# not turned on for Window's binary builds at the moment.
@unix_only if dlopen_e(splitext(bytestring(Base.JLOptions().image_file))[1]) != C_NULL
@unix_only if Libdl.dlopen_e(splitext(bytestring(Base.JLOptions().image_file))[1]) != C_NULL
@test !success(`$exename -C invalidtarget`)
@test !success(`$exename --cpu-target=invalidtarget`)
end
Expand Down

0 comments on commit 8725fdd

Please sign in to comment.