On 7/28/24 21:36, Simon Glass wrote:
Hi Love,

On Wed, 24 Jul 2024 at 05:07, Love Kumar <[email protected]> wrote:

Add test cases for sf commands to verify various SPI flash operations
such as erase, write and read. It also adds qspi lock unlock cases.
This test relies on boardenv_* configurations to run it for different
SPI flash family such as single SPI, QSPI, and OSPI.

Signed-off-by: Love Kumar <[email protected]>
---
Changes in v2:
  - Fix the pylint errors
  - Re-order/organize the tests
---
  test/py/tests/test_spi.py | 680 ++++++++++++++++++++++++++++++++++++++
  1 file changed, 680 insertions(+)
  create mode 100644 test/py/tests/test_spi.py


How is this test enabled? Can it run in CI?

If board owner wants to enable it it should be done via uboot-test-hooks repo py/travis-ci/* to define exact flash part description to enable this test.
But test is wired already it is just skip if part is not described.

Thanks,
Michal

Reply via email to