]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
tcl: improve run-ptest
authorRoss Burton <ross.burton@arm.com>
Thu, 21 Mar 2024 20:15:56 +0000 (20:15 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Mar 2024 10:16:56 +0000 (10:16 +0000)
commita3fffea6b370e22380b0699dcefcda16fdc1f116
treed55332ad711974106425258aeb923b1f7d564eab
parent37bd8e8dddce9d0b5bfbcf9244225c3b853d7077
tcl: improve run-ptest

By setting ERROR_ON_FAILURES we don't need to grep the output to know
if the tests failed.  By default the log runner will print the failed
test case, so we don't need to store the log at all.

Set the skipped tests across multiple lines so that it's easier to see
what skips are related to what bugs, and to avoid very long lines.

Use basename instead of awk to get the test name.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/tcltk/tcl/run-ptest