[U-Boot] [PATCH 0/6] test.py fixes & enhancements

Stephen Warren swarren at wwwdotorg.org
Wed Nov 18 04:19:58 CET 2015


This builds on my previous patch "Implement pytest-based test
infrastructure". It converts a few more tests so provides a few more
examples.

Stephen Warren (6):
  test/py: require .config to exist
  test/py: parse include/autoconf.mk for config options
  test/py: limit outstanding TX data
  test/py: print implicit shell prompt later
  test/py: replace cmd_repeat.sh with Python
  test/py: convert most of test/command_ut.c to Python

 test/cmd_repeat.sh                   |  29 --------
 test/command_ut.c                    | 133 ----------------------------------
 test/py/conftest.py                  |  18 +++--
 test/py/test_env.py                  |  26 ++++++-
 test/py/test_hush_if_test.py         | 137 +++++++++++++++++++++++++++++++++++
 test/py/test_md.py                   |  10 +++
 test/py/test_shell_basics.py         |  31 ++++++++
 test/py/uboot_console_base.py        |  31 ++++----
 test/py/uboot_console_exec_attach.py |   6 +-
 test/py/uboot_console_sandbox.py     |   2 +-
 10 files changed, 233 insertions(+), 190 deletions(-)
 delete mode 100755 test/cmd_repeat.sh
 create mode 100644 test/py/test_hush_if_test.py
 create mode 100644 test/py/test_shell_basics.py

-- 
1.9.1



More information about the U-Boot mailing list