pylink
pylink copied to clipboard
Fix load dll for arm
test by rock pi 4b plus on ubuntu20.04
Could you give a specific test case for this? We have some tests in the test_library.py
test file, so covering the case of when it should and should not be yielding ARM binaries would be good to ensure we're not breaking any current functionality.
Could you give a specific test case for this? We have some tests in the
test_library.py
test file, so covering the case of when it should and should not be yielding ARM binaries would be good to ensure we're not breaking any current functionality.
My English is not very good, how I get the test_ library. Py
, is it to me write?
The current tests are here: https://github.com/square/pylink/blob/master/tests/unit/test_library.py#L804
The current tests are here: https://github.com/square/pylink/blob/master/tests/unit/test_library.py#L804
I well try run it on my Windows PC and Rock pi
The current tests are here: https://github.com/square/pylink/blob/master/tests/unit/test_library.py#L804 Windows PC:
Rock Pi:
The current tests are here: https://github.com/square/pylink/blob/master/tests/unit/test_library.py#L804
my english is not good,do i need to do anything else?
Sorry for the late response here. What I mean is that I think you should add some new tests to that test file that cover the specific scenario your changes address. So for example, if you have a directory with both ARM and non-ARM DLLs, on a non-ARM platform (non-ARM built Python), it should return the non-ARM DLL, but on an ARM-based platform running under Python built for ARM, it should return the ARM DLL.
I get it, I'll try to get it when I'm free