]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lttng-tools: ensure that ptest errors are not suppressed
authorAlexander Kanavin <alex@linutronix.de>
Mon, 16 Feb 2026 13:33:47 +0000 (14:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Feb 2026 11:05:35 +0000 (11:05 +0000)
commit27817cda4b21d3d5f293d149411211d516448717
treee0c430d174eac604092af35710459592a8100f73
parenta2c6bf582287a56ae241499598d3038b3c3cdb4f
lttng-tools: ensure that ptest errors are not suppressed

At some recent point lttng-tools ptests have quietly regressed,
and most of them aren't executed anymore. Errors are printed
on the console, but aren't reported as exit code from run-ptest.

The reason is that exitcode was set to what sed returned, not make.
The original reason for piping through sed was to unify /tmp/tmp.xxxx outputs
for easier results comparison, but (after fixing the tests) I don't
see such lines anymore, and in any case ensuring such regressions
are caught is more important.

With this fix, run-ptest and testimage starts to fail as it should.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-tools/run-ptest