mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
rtla/tests: Show the command line for failing tests
Make investigating test failures a little bit easier by not having to recreate the command line by looking in the test script. Unfortunately, this doesn't capture variables set outside of the command line, but it's better than nothing. Signed-off-by: Crystal Wood <crwood@redhat.com> Link: https://lore.kernel.org/r/20260919062756.819701-3-crwood@redhat.com Signed-off-by: Tomas Glozar <tglozar@redhat.com>
This commit is contained in:
parent
7a5e8f9151
commit
7e3fb693a1
|
|
@ -86,6 +86,7 @@ check() {
|
|||
else
|
||||
# Add rtla output and exit code as comments in case of failure
|
||||
echo "not ok $ctr - $1"
|
||||
echo "# command: $RTLA" $2
|
||||
echo -n "$failbuf"
|
||||
echo "$result" | col -b | while read line; do echo "# $line"; done
|
||||
printf "#\n# exit code %s\n" $exitcode
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user