Commit 936e25b1 authored by Damien George's avatar Damien George
Browse files

tests: For unix ffi float test, add to library search list.

Latest Arch Linux doesn't have as a proper shared object and so
we need to load
parent 5ab0a4a6
......@@ -26,7 +26,7 @@ strtod = libc.func("d", "strtod", "sp")
print('%.6f' % strtod('1.23', None))
# test passing double and float args
libm = ffi_open(('', '', '', 'libc.dylib'))
libm = ffi_open(('', '', '', '', 'libc.dylib'))
tgamma = libm.func('d', 'tgamma', 'd')
tgammaf = libm.func('f', 'tgammaf', 'f')
for fun in (tgamma, tgammaf):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment