mbox series

[PATCHSET,v2,0/2] fstests: testing improvements

Message ID 169033659987.3222210.11071346898413396128.stgit@frogsfrogsfrogs (mailing list archive)
Headers show
Series fstests: testing improvements | expand

Message

Darrick J. Wong July 26, 2023, 1:56 a.m. UTC
Hi all,

Here's a couple of patches that improve the test framework itself.  The
first patch adds a -smoketest option that will run the generic file IO
loop tests each for 4 minutes apiece.  The goal here is to provide a
quick means for developers to check that their changes didn't cause
major problems.

The second patch adds kernel gcov coverage reporting if the kernel is
set up to record such information.

v2: move the gcov code to a separate file, document what -smoketest does
    and who the target audience is

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=testing-improvements
---
 README              |   12 +++++++
 check               |   24 +++++++++++++-
 common/gcov         |   87 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/group-names.txt |    1 +
 tests/generic/475   |    2 +
 tests/generic/476   |    2 +
 tests/generic/521   |    2 +
 tests/generic/522   |    2 +
 tests/generic/642   |    2 +
 9 files changed, 128 insertions(+), 6 deletions(-)
 create mode 100644 common/gcov