Commit 494cbfb
committed
fstests: add makefile target to show test results
Add 'fstests-show-results' makefile target to show test results.
Under the hood, it more or less just does 'find ... | xargs cat'.
By default, the xunit_result.txt file will be shown for the most recent
kernel run.
You can show the results for a different kernel by overriding the
LAST_KERNEL variable, e.g.
$ LAST_KERNEL=6.13.4-300.fc41.x86_64 make fstests-show-results
You can change the files being shown by overriding the PATTERN variable.
For example, to just see the xml output files:
$ PATTERN="-name \"*.xml\"" make fstests-show-results
or to see the xunit_results.txt and the bad results:
$ PATTERN="\( -name xunit_results.txt -o -name \"*.bad\" \)" make fstests-show-results
or you can do any combination thereof, e.g.
$ LAST_KERNEL=6.13.4-300.fc41.x86_64 PATTERN="-name \"*.bad\"" make fstests-show-results
Finally, note that if you override the PATTERN variable, then the output
will also include the filename... otherwise it the output will not
include the filename. The reason I did it this way for this workflow
specifically is so that Luis can use 'make fstests-show-results' in his
github workflow and he should get exactly the same output as he does
today.
Reviewed-by: Luis Chamberlain <[email protected]>
Signed-off-by: Scott Mayhew <[email protected]>1 parent e7ee1ef commit 494cbfb
1 file changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
118 | 140 | | |
119 | 141 | | |
120 | 142 | | |
| |||
218 | 240 | | |
219 | 241 | | |
220 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
221 | 248 | | |
222 | 249 | | |
223 | 250 | | |
| |||
0 commit comments