Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/ports/unix/ffi_int_long64.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
248 B
Python
Raw Normal View History

tests/ports/unix: Update and extend the modffi integer tests. Added the "long" modffi tests. The tests could not be added to the existing ffi_types test because two .exp files were required for the 32-bit and 64-bit results. Code common to both the ffi_types and type "long" tests was factored into ffi_int_base. ffi_types was renamed to ffi_int_types to group the related tests under the "ffi_int" prefix. Signed-off-by: Michael Sawyer <mjfsawyer@gmail.com>
2024-09-06 19:42:30 -04:00
# test 64-bit long arguments and return types for ffi functions
import struct
import ffi_int_base
if struct.calcsize("l") != 8:
print("SKIP")
raise SystemExit
ffi_int_base.test(
[
("l", "fli"),
("L", "flu"),
]
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 64ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API