Skip to content

Commit

Permalink
Merge pull request #200 from JuliaLang/yyc/test-getfield
Browse files Browse the repository at this point in the history
Fix deprecation warning in the test
  • Loading branch information
yuyichao committed May 12, 2016
2 parents 0e2179c + 30bea41 commit 8788cef
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
Expand Up @@ -247,10 +247,10 @@ end

# Make sure exports from Libc and Libdl are defined
for x in [:strftime,:systemsleep,:getpid,:FILE,:malloc,:flush_cstdio,:realloc,:strptime,:Libc,:errno,:msync,:TmStruct,:calloc,:time,:strerror,:gethostname,:free]
Libc.(x)
getfield(Libc, x)
end
for x in [:RTLD_LOCAL,:RTLD_GLOBAL,:find_library,:dlsym,:RTLD_LAZY,:RTLD_NODELETE,:DL_LOAD_PATH,:RTLD_NOW,:Libdl,:dlext,:dlsym_e,:RTLD_FIRST,:dlopen,:dllist,:dlpath,:RTLD_NOLOAD,:dlclose,:dlopen_e,:RTLD_DEEPBIND]
Libdl.(x)
getfield(Libdl, x)
end

# Test unsafe_convert
Expand Down

0 comments on commit 8788cef

Please sign in to comment.