public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 1/5] lttng-tools: ensure that ptest errors are not suppressed
@ 2026-02-16 13:33 Alexander Kanavin
  2026-02-16 13:33 ` [PATCH 2/5] lttng-tools: add missing python3-multiprocessing dependency to ptests Alexander Kanavin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alexander Kanavin @ 2026-02-16 13:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

From: Alexander Kanavin <alex@linutronix.de>

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>
---
 meta/recipes-kernel/lttng/lttng-tools/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/lttng/lttng-tools/run-ptest b/meta/recipes-kernel/lttng/lttng-tools/run-ptest
index f4f7a3baea..e7edc03e96 100755
--- a/meta/recipes-kernel/lttng/lttng-tools/run-ptest
+++ b/meta/recipes-kernel/lttng/lttng-tools/run-ptest
@@ -31,7 +31,7 @@ validate_lttng_modules_present || {
 make -k -t all >error.log 2>&1
 # Can specify a test e.g.:
 # -C tests/regression/ check TESTS='kernel/test_callstack'
-make -k -s $makeargs check 2>error.log | sed -e 's#/tmp/tmp\...........#/tmp/tmp.XXXXXXXXXX#g'
+make -k -s $makeargs check 2>error.log
 exitcode=$?
 if [ -e error.log ]; then
     cat error.log
-- 
2.47.3



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-02-16 13:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-16 13:33 [PATCH 1/5] lttng-tools: ensure that ptest errors are not suppressed Alexander Kanavin
2026-02-16 13:33 ` [PATCH 2/5] lttng-tools: add missing python3-multiprocessing dependency to ptests Alexander Kanavin
2026-02-16 13:33 ` [PATCH 3/5] lttng-tools: install .expect test files with a wildcard Alexander Kanavin
2026-02-16 13:33 ` [PATCH 4/5] time64.inc: clean up and add upstream tickets where issues remain Alexander Kanavin
2026-02-16 13:33 ` [PATCH 5/5] time64.inc: add links to "Y2038 in Yocto" slides and video Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox