Commit 8aa5012
committed
ltp: add makefile target to show test results
Under the hood, it more or less just does 'find ... | xargs cat'.
By default, the "*.log" files 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.11.9-100.fc39.x86_64 make ltp-show-results
You can change the files being shown by overriding the PATTERN variable.
For example, to just see the failures:
$ PATTERN="-name \"*.failed\"" make ltp-show-results
Note that since the ltp log files have a date and timestamp in the
filename, it's possible to accumulate logs from multiple test runs. If
you're showing the results from the most recent kernel, then we'll only
show the logs from the most recent run (i.e. logs that are in the
last-run directory). But if you're showing the results from an older
kernel, then we'll show all the logs in that directory (but you can
override that too if you get creative with the PATTERN variable).
Signed-off-by: Scott Mayhew <[email protected]>1 parent d17a909 commit 8aa5012
1 file changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
99 | 117 | | |
100 | 118 | | |
101 | 119 | | |
| |||
128 | 146 | | |
129 | 147 | | |
130 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
131 | 154 | | |
132 | 155 | | |
133 | 156 | | |
| |||
0 commit comments