I'm not familiar enough with the ptest-runner to say, but does the exit code of run-ptest get used at all, or only the output in the expected format? Just noticed this will suppress the non-zero exit code of run-ptest.
On Thu, Oct 21, 2021 at 7:30 AM Ross Burton <[email protected]> wrote: > If the tests fail, dump the log so we can see the failures. > > Signed-off-by: Ross Burton <[email protected]> > --- > meta/recipes-devtools/strace/strace/run-ptest | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-devtools/strace/strace/run-ptest > b/meta/recipes-devtools/strace/strace/run-ptest > index 3a51fb0be9..42ececdc4f 100755 > --- a/meta/recipes-devtools/strace/strace/run-ptest > +++ b/meta/recipes-devtools/strace/strace/run-ptest > @@ -3,4 +3,4 @@ export TIMEOUT_DURATION=240 > chown nobody tests > chown nobody tests/* > chown nobody ../ptest > -su nobody -c "make -B -C tests -k test-suite.log" > +su nobody -c "make -B -C tests -k test-suite.log" || cat > tests/test-suite.log > -- > 2.25.1 > > > > > -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Senior Software Engineer, Mentor Graphics
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#157289): https://lists.openembedded.org/g/openembedded-core/message/157289 Mute This Topic: https://lists.openembedded.org/mt/86490861/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
