This is a tool to generate static pages of one or more fstests runs.
./generate.py <result.xml> [-D <output_dir>]
result.xml is generate by utilizing fstests xunit report facility. This can be done by the following command:
# cd fstests
# ./check -R xunit
If no output_dir is specified,, current directory will be used.
For now, users still have to do the following works by themselves:
-
Run fstests
-
Copy the result.xml to the host
The hierarchy of output_dir would look like this:
.
|- index.html # The summary page of all runs
|- details/
|- <hostname>-<section>/ # The config of the run, based on hostname and section
|- <timestamp>/ # Timestamp of the run, ISO 8601, to seconds.
|- result.xml # Backup of the result.xml generated by fstests
|- index.html # Summary of the specific run
|- <testcase_type> # Failed test case type (generic/btrfs/xfs etc..)
|- <number>.out.bad # Failed test case output
|- <number>.dmesg # Failed test case dmesg (if there is warning)
One example would look like this:
.
|- details
| |- btrfs-rock5b-global
| | |- 2022-12-16T15:22:20
| | | |- btrfs
| | | | |- 011.dmesg
| | | | `- 011.out.bad
| | | |- generic
| | | | |- 648.dmesg
| | | | `- 648.out.bad
| | | |- index.html
| | | `- result.xml
| | |- 2022-12-21T21:50:56
| | |- btrfs
| | | |- 011.dmesg
| | | |- 011.out.bad
| | | |- 220.dmesg
| | | |- 249.dmesg
| | | `- 249.out.bad
| | |- index.html
| | `- result.xml
| `- btrfs-rockpro64-global
| `- 2022-12-20T20:20:20
| |- index.html
| `- result.xml
|- index.html
`- style.css