From 7e3fb693a179821999affc1aea3e66aa84927dd6 Mon Sep 17 00:00:00 2001 From: Crystal Wood Date: Sat, 19 Sep 2026 01:27:55 -0500 Subject: [PATCH] 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 Link: https://lore.kernel.org/r/20260919062756.819701-3-crwood@redhat.com Signed-off-by: Tomas Glozar --- tools/tracing/rtla/tests/engine.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/tracing/rtla/tests/engine.sh b/tools/tracing/rtla/tests/engine.sh index 4fe7bcbab8b7..ab4fa0a8ded7 100644 --- a/tools/tracing/rtla/tests/engine.sh +++ b/tools/tracing/rtla/tests/engine.sh @@ -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