[U-Boot] [PATCH 0/8] test/py: Fixes for python 3.x
Paul Burton
paul.burton at imgtec.com
Thu Sep 14 20:06:26 UTC 2017
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 | 16 ++++++++++++----
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, 40 insertions(+), 28 deletions(-)
--
2.14.1
More information about the U-Boot
mailing list