All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [RFC 0/3] test/py: add filesystem test scripts
@ 2018-08-23  7:25 AKASHI Takahiro
  2018-08-23  7:25 ` [U-Boot] [RFC 1/3] test/py: convert fs-test.sh to pytest AKASHI Takahiro
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: AKASHI Takahiro @ 2018-08-23  7:25 UTC (permalink / raw)
  To: u-boot

This patch series is an attempt to add tests scripts for filesystem
functionality to U-boot pytest suite.

Currently, we have a bit old-fashioned shell-script, fs-test.sh,
under test/fs for this purpose, which is obviously not an integrated
part of the suite.

So my aim here is:
* first, convert fs-test.sh to python script using pytest
* then add more test cases for exntensive test coverage,
  including added functions to be introduced by my patch set,
  "fs: fat: extend FAT write operations"[1]

The current code is a bit rough-edged yet and any comments or
feedbacks are very much welcomed.

The code itself was tested on v2018.09-rc with my patch set above.

[1] https://lists.denx.de/pipermail/u-boot/2018-July/335415.html

Thanks,
-Takahiro AKASHI

AKASHI Takahiro (3):
  test/py: convert fs-test.sh to pytest
  test/py: fs: add extended write operation test
  test/py: fs: add fstest/mkdir test

 test/py/tests/test_fs/conftest.py    | 289 +++++++++++++++++++++++++++
 test/py/tests/test_fs/fstest_defs.py |  13 ++
 test/py/tests/test_fs/test_basic.py  | 246 +++++++++++++++++++++++
 test/py/tests/test_fs/test_ext.py    | 197 ++++++++++++++++++
 test/py/tests/test_fs/test_mkdir.py  |  77 +++++++
 5 files changed, 822 insertions(+)
 create mode 100644 test/py/tests/test_fs/conftest.py
 create mode 100644 test/py/tests/test_fs/fstest_defs.py
 create mode 100644 test/py/tests/test_fs/test_basic.py
 create mode 100644 test/py/tests/test_fs/test_ext.py
 create mode 100644 test/py/tests/test_fs/test_mkdir.py

-- 
2.18.0

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

end of thread, other threads:[~2018-09-04 19:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-23  7:25 [U-Boot] [RFC 0/3] test/py: add filesystem test scripts AKASHI Takahiro
2018-08-23  7:25 ` [U-Boot] [RFC 1/3] test/py: convert fs-test.sh to pytest AKASHI Takahiro
2018-08-29 21:36   ` Heinrich Schuchardt
2018-08-30  6:52     ` AKASHI Takahiro
2018-08-30 10:01       ` Heinrich Schuchardt
2018-08-30 10:26         ` AKASHI Takahiro
2018-08-30 10:56           ` Tuomas Tynkkynen
2018-08-31  7:22             ` AKASHI Takahiro
2018-09-04 19:26               ` Tuomas Tynkkynen
2018-08-31  7:31     ` AKASHI Takahiro
2018-08-31  8:26       ` Alexander Graf
2018-08-23  7:25 ` [U-Boot] [RFC 2/3] test/py: fs: add extended write operation test AKASHI Takahiro
2018-08-23  7:25 ` [U-Boot] [RFC 3/3] test/py: fs: add fstest/mkdir test AKASHI Takahiro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.