]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/stap: rewrite test
authorRoss Burton <ross@burtonini.com>
Fri, 14 Jan 2022 18:08:10 +0000 (18:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Jan 2022 16:22:46 +0000 (16:22 +0000)
commit3954dc857df1d2a7e559b4fd357b54f39cf7374a
tree09d6c1375e6f1a8655d645c91a0f63b016907b5e
parent6340a6477ddf0fee6c18cf99262704a715491f60
oeqa/runtime/stap: rewrite test

There's no need to copy files to the target when stap can take the short
probe directly.

Add more has-package decorators for the kernel source and GCC symlinks.
Remove the test dependencies as it's not a hard dependency.

Change the probe to print a message with some minimal logic, and verify
that the message was correctly constructed in the output.

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
meta/lib/oeqa/runtime/files/hello.stp [deleted file]