
From: Simon Glass <sjg@chromium.org> This series includes various improvements to the test/py close: - Fix some pylint warnings - Log the PYTHONPATH when no py hooks are found - Improve how the pattern list is handled - Move 'expect' handling into ConsoleBase - Add an exported function to shutdown U-Boot in tests - A few other minor things Simon Glass (16): test/py: Log the PYTHONPATH on error test/py: Tidy up pylint warnings in console_base test/py: Tidy up comments in ConsoleBase() test/py: Tidy up pylint warnings in console_sandbox test/py: Tidy up pylint warnings in console_sandbox test/py: Tidy up pylint warnings in spawn test/py: Create a named tuple for the pattern list test/py: Rename bad_pattern_defs to PATTERNS test/py: Maintain a list of available patterns test/py: Provide an expect() function for use by tests test/py: Move exceptions to console_base test/py: Move expect() function into console_base test/py: Move the timeout to console_base test/py: Move member variables from spawn to console_base test/py: Split up _wait_for_boot_prompt test/py: Add a proper function to shut down U-Boot test/py/conftest.py | 4 +- test/py/console_base.py | 508 +++++++++++++++++++---------- test/py/console_board.py | 4 +- test/py/console_sandbox.py | 36 +- test/py/spawn.py | 189 ++--------- test/py/tests/test_bootmenu.py | 8 +- test/py/tests/test_distro.py | 14 +- test/py/tests/test_efi_selftest.py | 42 +-- test/py/tests/test_eficonfig.py | 34 +- test/py/tests/test_net.py | 4 +- test/py/tests/test_net_boot.py | 24 +- test/py/tests/test_sandbox_exit.py | 4 +- test/py/tests/test_saveenv.py | 2 +- test/py/tests/test_zynqmp_rpu.py | 3 +- 14 files changed, 451 insertions(+), 425 deletions(-) -- 2.43.0 base-commit: 4eeb84fb23ab19fe7d39abc840955f714b3aaefd branch: tesc2