]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/stap: improve systemtap test
authorRoss Burton <ross@burtonini.com>
Mon, 31 Jan 2022 13:54:08 +0000 (13:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Feb 2022 07:29:44 +0000 (07:29 +0000)
commit6cf4d23a2d26c2767edd93f2eb317ff759b5a992
treeb3f1b629f9d6291ad480958653fccff9f9f77b05
parent50ff1f018a670c963e1979dee76ebd696153b4c1
oeqa/runtime/stap: improve systemtap test

Split the test up into compile and execute phases, as the stap binary
is known to be quite memory-hungry and this can result in the probe
being unable to allocate enough memory for the buffers it needs.

If the test fails, dump the dmesg as any useful messages will be there.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/stap.py