U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] test: A few quality-of-life improvements
@ 2025-02-09 16:07 Simon Glass
  2025-02-09 16:07 ` [PATCH v2 1/6] test/py: Shorten u_boot_console Simon Glass
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Simon Glass @ 2025-02-09 16:07 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Tom Rini, Simon Glass, Andrew Goodbody, Caleb Connolly,
	Dmitry Rokosov, Guillaume La Roque, Heinrich Schuchardt,
	Huang Jianan, Igor Opaniuk, Jens Wiklander, Jerome Forissier,
	Joao Marcos Costa, Julien Masson, Love Kumar, Mattijs Korpershoek,
	Michal Simek, Miquel Raynal, Padmarao Begari, Patrick Rudolph,
	Peter Robinson, Richard Weinberger, Roger Knecht, Sam Protsenko,
	Sean Anderson, Stephen Warren, Stephen Warren, Thomas Petazzoni,
	Tim Harvey, Weizhao Ouyang, William Zhang, linux-erofs

This little series includes a few patches to make it easier to work with
the Python tests, by shortening identifiers and renaming the 'console'
fixture to reflect its role as the top-level fixture.

It also adds a command to fix testing on samus_tpl

This series is based on the previous 'test' series[1]

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=441124

Changes in v2:
- Use 'ubman' instead
- Add new patch to drop importing utils as util
- Add new patch to drop assigning ubman to cons

Simon Glass (6):
  test/py: Shorten u_boot_console
  test/py: Drop u_boot_ prefix on test files
  test/py: Drop importing utils as util
  test/py: Drop assigning ubman to cons
  test/py: Show info about module-loading
  test: Make net tests depend on CONFIG_CMD_NET

 doc/develop/py_testing.rst                    |  16 +-
 doc/develop/tests_writing.rst                 |  12 +-
 test/py/conftest.py                           |  89 +++---
 ...u_boot_console_base.py => console_base.py} |   8 +-
 ...onsole_exec_attach.py => console_board.py} |   6 +-
 ..._console_sandbox.py => console_sandbox.py} |   8 +-
 test/py/{u_boot_spawn.py => spawn.py}         |   0
 test/py/tests/fit_util.py                     |  42 +--
 test/py/tests/test_000_version.py             |   8 +-
 test/py/tests/test_android/test_ab.py         |  48 +--
 test/py/tests/test_android/test_abootimg.py   | 133 +++++----
 test/py/tests/test_android/test_avb.py        |  49 ++-
 test/py/tests/test_bind.py                    |  72 ++---
 test/py/tests/test_bootmenu.py                |  46 +--
 test/py/tests/test_bootstage.py               |  18 +-
 test/py/tests/test_button.py                  |  16 +-
 test/py/tests/test_cat/test_cat.py            |   6 +-
 test/py/tests/test_dfu.py                     |  54 ++--
 test/py/tests/test_dm.py                      |  28 +-
 .../test_efi_bootmgr/test_efi_bootmgr.py      |  34 +--
 .../tests/test_efi_capsule/capsule_common.py  |  60 ++--
 .../test_capsule_firmware_fit.py              | 100 +++----
 .../test_capsule_firmware_raw.py              | 126 ++++----
 .../test_capsule_firmware_signed_fit.py       | 104 +++----
 .../test_capsule_firmware_signed_raw.py       | 104 +++----
 test/py/tests/test_efi_fit.py                 |  93 +++---
 test/py/tests/test_efi_loader.py              |  84 +++---
 .../py/tests/test_efi_secboot/test_authvar.py | 120 ++++----
 test/py/tests/test_efi_secboot/test_signed.py | 148 ++++-----
 .../test_efi_secboot/test_signed_intca.py     |  46 +--
 .../tests/test_efi_secboot/test_unsigned.py   |  42 +--
 test/py/tests/test_efi_selftest.py            | 180 +++++------
 .../py/tests/test_eficonfig/test_eficonfig.py | 106 +++----
 test/py/tests/test_env.py                     |  82 +++--
 test/py/tests/test_event_dump.py              |   9 +-
 test/py/tests/test_extension.py               |  32 +-
 test/py/tests/test_fit.py                     |  67 +++--
 test/py/tests/test_fit_auto_signed.py         |  35 ++-
 test/py/tests/test_fit_ecdsa.py               |  31 +-
 test/py/tests/test_fit_hashes.py              |  29 +-
 test/py/tests/test_fpga.py                    | 280 +++++++++---------
 test/py/tests/test_fs/conftest.py             |   1 -
 test/py/tests/test_fs/test_basic.py           | 104 +++----
 test/py/tests/test_fs/test_erofs.py           |  76 ++---
 test/py/tests/test_fs/test_ext.py             | 124 ++++----
 test/py/tests/test_fs/test_fs_cmd.py          |   4 +-
 test/py/tests/test_fs/test_fs_fat.py          |   6 +-
 test/py/tests/test_fs/test_mkdir.py           |  48 +--
 .../test_fs/test_squashfs/test_sqfs_load.py   |  54 ++--
 .../test_fs/test_squashfs/test_sqfs_ls.py     |  64 ++--
 test/py/tests/test_fs/test_symlink.py         |  46 +--
 test/py/tests/test_fs/test_unlink.py          |  50 ++--
 test/py/tests/test_gpio.py                    | 106 +++----
 test/py/tests/test_gpt.py                     | 178 +++++------
 test/py/tests/test_handoff.py                 |   5 +-
 test/py/tests/test_help.py                    |  28 +-
 test/py/tests/test_i2c.py                     |  44 +--
 test/py/tests/test_kconfig.py                 |  16 +-
 test/py/tests/test_log.py                     |  20 +-
 test/py/tests/test_lsblk.py                   |   4 +-
 test/py/tests/test_md.py                      |  22 +-
 test/py/tests/test_mdio.py                    |  32 +-
 test/py/tests/test_memtest.py                 |  26 +-
 test/py/tests/test_mii.py                     |  50 ++--
 test/py/tests/test_mmc.py                     | 156 +++++-----
 test/py/tests/test_mmc_rd.py                  |  54 ++--
 test/py/tests/test_mmc_wr.py                  |  20 +-
 test/py/tests/test_net.py                     | 142 ++++-----
 test/py/tests/test_net_boot.py                | 144 ++++-----
 test/py/tests/test_of_migrate.py              |  43 ++-
 test/py/tests/test_ofplatdata.py              |  11 +-
 test/py/tests/test_optee_rpmb.py              |  10 +-
 test/py/tests/test_part.py                    |   4 +-
 test/py/tests/test_pinmux.py                  |  32 +-
 test/py/tests/test_pstore.py                  |  48 +--
 test/py/tests/test_qfw.py                     |   8 +-
 test/py/tests/test_reset.py                   |  24 +-
 test/py/tests/test_sandbox_exit.py            |  28 +-
 test/py/tests/test_sandbox_opts.py            |  16 +-
 test/py/tests/test_saveenv.py                 |  70 ++---
 test/py/tests/test_scp03.py                   |   8 +-
 test/py/tests/test_scsi.py                    |  48 +--
 test/py/tests/test_semihosting/test_hostfs.py |  14 +-
 test/py/tests/test_sf.py                      |  66 ++---
 test/py/tests/test_shell_basics.py            |  30 +-
 test/py/tests/test_sleep.py                   |  26 +-
 test/py/tests/test_smbios.py                  |  12 +-
 test/py/tests/test_source.py                  |  45 ++-
 test/py/tests/test_spi.py                     | 242 +++++++--------
 test/py/tests/test_spl.py                     |  15 +-
 test/py/tests/test_stackprotector.py          |   8 +-
 test/py/tests/test_suite.py                   |  68 ++---
 test/py/tests/test_tpm2.py                    | 194 ++++++------
 test/py/tests/test_trace.py                   |  69 +++--
 test/py/tests/test_ums.py                     |  48 +--
 test/py/tests/test_unknown_cmd.py             |   6 +-
 test/py/tests/test_upl.py                     |  15 +-
 test/py/tests/test_usb.py                     | 206 ++++++-------
 test/py/tests/test_ut.py                      | 224 +++++++-------
 test/py/tests/test_vbe.py                     |  17 +-
 test/py/tests/test_vbe_vpl.py                 |  33 +--
 test/py/tests/test_vboot.py                   | 188 ++++++------
 test/py/tests/test_vpl.py                     |  11 +-
 test/py/tests/test_xxd/test_xxd.py            |   6 +-
 test/py/tests/test_zynq_secure.py             |  96 +++---
 test/py/tests/test_zynqmp_rpu.py              | 106 +++----
 test/py/tests/test_zynqmp_secure.py           |  42 +--
 test/py/{u_boot_utils.py => utils.py}         |  44 +--
 108 files changed, 3180 insertions(+), 3196 deletions(-)
 rename test/py/{u_boot_console_base.py => console_base.py} (99%)
 rename test/py/{u_boot_console_exec_attach.py => console_board.py} (95%)
 rename test/py/{u_boot_console_sandbox.py => console_sandbox.py} (93%)
 rename test/py/{u_boot_spawn.py => spawn.py} (100%)
 rename test/py/{u_boot_utils.py => utils.py} (89%)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-02-17 17:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-09 16:07 [PATCH v2 0/6] test: A few quality-of-life improvements Simon Glass
2025-02-09 16:07 ` [PATCH v2 1/6] test/py: Shorten u_boot_console Simon Glass
2025-02-09 16:07 ` [PATCH v2 2/6] test/py: Drop u_boot_ prefix on test files Simon Glass
2025-02-11  8:35   ` Mattijs Korpershoek
2025-02-09 16:07 ` [PATCH v2 3/6] test/py: Drop importing utils as util Simon Glass
2025-02-11  8:40   ` Mattijs Korpershoek
2025-02-09 16:07 ` [PATCH v2 4/6] test/py: Drop assigning ubman to cons Simon Glass
2025-02-09 16:07 ` [PATCH v2 5/6] test/py: Show info about module-loading Simon Glass
2025-02-10 15:52   ` Tom Rini
2025-02-15 12:17     ` Simon Glass
2025-02-15 14:48       ` Tom Rini
2025-02-15 17:21         ` Simon Glass
2025-02-17 17:52           ` Tom Rini
2025-02-09 16:07 ` [PATCH v2 6/6] test: Make net tests depend on CONFIG_CMD_NET Simon Glass
2025-02-17 17:15 ` [PATCH v2 0/6] test: A few quality-of-life improvements Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox