[U-Boot] [PATCH v2 0/8] test/py: Fixes for python 3.x
Simon Glass
sjg at chromium.org
Tue Jul 10 20:56:59 UTC 2018
Hi Paul,
On 14 September 2017 at 15:34, Paul Burton <paul.burton at imgtec.com> wrote:
> This series allows test/py to run on python 3.x in addition to the
> already supported python 2.x. With it applied I currently see only one
> failure (test_ut[ut_dm_usb_flash]) which doesn't appear to be python
> related when running with:
>
> $ ./test/py/test.py --bd sandbox --build
>
> Thanks,
> Paul
>
> Paul Burton (8):
> test/py: Make print statements python 3.x safe
> test/py: Use range() rather than xrange()
> test/py: Import 'configparser' lower case to be python 3.x safe
> test/py: Import StringIO from io module for python 3.x
> test/py: Encode/decode strings for stdio
> test/py: fit: Open files as binary files
> test/py: hush_if_test: Use open() in place of file()
> test/py: vboot: Remove stderr redirect from openssl command
>
> test/py/conftest.py | 18 +++++++++++++-----
> test/py/multiplexed_log.py | 4 ++--
> test/py/test.py | 6 ++++--
> test/py/tests/test_fit.py | 14 ++++++++------
> test/py/tests/test_hush_if_test.py | 2 +-
> test/py/tests/test_ut.py | 2 +-
> test/py/tests/test_vboot.py | 4 ++--
> test/py/u_boot_console_sandbox.py | 4 ++--
> test/py/u_boot_spawn.py | 12 ++++++------
> test/py/u_boot_utils.py | 4 ++--
> 10 files changed, 41 insertions(+), 29 deletions(-)
>
> --
> 2.14.1
>
I never did see a v3 of this but I would like to get these patches applied.
I'll apply the ones that seem cause no problems. If you have time,
please respin these ones:
> test/py: Import StringIO from io module for python 3.x
> test/py: Encode/decode strings for stdio
Regards,
Simon
More information about the U-Boot
mailing list