summaryrefslogtreecommitdiffstatshomepage
path: root/tests/unix/ffi_float.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-08-25 18:14:53 +0100
committerDamien George <damien.p.george@gmail.com>2015-08-25 18:14:53 +0100
commit936e25b164d837fc91e4bafd76580e747b235dff (patch)
tree0c0c50c03468ff1b8f6c77b2db8618a88895967f /tests/unix/ffi_float.py
parent5ab0a4a67167a26838ee4ad5305b8dc27d216830 (diff)
downloadmicropython-936e25b164d837fc91e4bafd76580e747b235dff.tar.gz
micropython-936e25b164d837fc91e4bafd76580e747b235dff.zip
tests: For unix ffi float test, add libm.so.6 to library search list.
Latest Arch Linux doesn't have libm.so as a proper shared object and so we need to load libm.so.6.
Diffstat (limited to 'tests/unix/ffi_float.py')
-rw-r--r--tests/unix/ffi_float.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unix/ffi_float.py b/tests/unix/ffi_float.py
index 144e8cb121..788b818be5 100644
--- a/tests/unix/ffi_float.py
+++ b/tests/unix/ffi_float.py
@@ -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(('libm.so', 'libc.so.0', 'libc.so.6', 'libc.dylib'))
+libm = ffi_open(('libm.so', 'libm.so.6', 'libc.so.0', 'libc.so.6', 'libc.dylib'))
tgamma = libm.func('d', 'tgamma', 'd')
tgammaf = libm.func('f', 'tgammaf', 'f')
for fun in (tgamma, tgammaf):