Store, view, and manage the results from xfstests (https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/)
I only do this for failing tests that have text set in their stdout or stderr properties. I also update the CSS for failed tests to give an indication when users hover their mouse over them. Signed-off-by: Anna Schumaker <anna@nowheycreamery.com> |
||
---|---|---|
tests | ||
xfstestsdb | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
pytest.ini | ||
README.md | ||
xfstestsdb.py |
xfstestsdb
Store, view, and manage the results from the xfstests filesystem test suite.
Basic Usage
Start by creating a new run in the database using the xfstestsdb new command, passing a name for your test device.
$ xfstestsdb new /dev/vdb1
created run #1 with test device '/dev/vdb1'
Now run xfstests, making sure you request an xunit report.
(xfstests-dev) $ ./check -R xunit
And add the generated xunit file to xfstestsdb using
xfstestsdb read
passing the run number given by xfstestsdb new
$ xfstestsdb xunit read 1 result.xunit
Created run #1 'result' with 567 tests
Now you can use the commands xfstestsdb show, xfstestsdb testcase list, and xfstestsdb testcase show to view the results.
See the wiki for more commands and detailed usage.