|
Revision tags: v6.15, v6.15-rc7, v6.15-rc6, v6.15-rc5, v6.15-rc4, v6.15-rc3, v6.15-rc2, v6.15-rc1, v6.14, v6.14-rc7, v6.14-rc6, v6.14-rc5, v6.14-rc4 |
|
| #
005682b4 |
| 18-Feb-2025 |
Tomas Glozar <[email protected]> |
rtla/timerlat: Test BPF mode
Using the RTLA_NO_BPF environmental variable, execute rtla-timerlat tests both with and without BPF support to cover both paths.
If rtla is built without BPF or the osn
rtla/timerlat: Test BPF mode
Using the RTLA_NO_BPF environmental variable, execute rtla-timerlat tests both with and without BPF support to cover both paths.
If rtla is built without BPF or the osnoise:timerlat_sample trace event is not available, test only the non-BPF path.
Cc: John Kacur <[email protected]> Cc: Luis Goncalves <[email protected]> Cc: Gabriele Monaco <[email protected]> Cc: Clark Williams <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Tomas Glozar <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
show more ...
|
|
Revision tags: v6.14-rc3, v6.14-rc2, v6.14-rc1 |
|
| #
ab16714f |
| 20-Jan-2025 |
Tomas Glozar <[email protected]> |
tools/rtla: Add basic test suite
Implement a simple TAP-based test engine in bash and a few basic tests using it, to be used to check for bugs and regressions.
A new "check" target is added to the
tools/rtla: Add basic test suite
Implement a simple TAP-based test engine in bash and a few basic tests using it, to be used to check for bugs and regressions.
A new "check" target is added to the rtla Makefile that runs the test suite using the "prove" command implemented by Test::Harness.
The only test format currently supported is running rtla with defined command arguments per test, checking its exit code. In case the exit code is non-zero, the output of rtla is displayed, together with the exit code.
The test cases are adopted from rtla tests in the Continuous Kernel Integration (CKI) project [1] with the authors' approval.
[1] https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/blob/main/rt-tests/us/rtla/
Cc: John Kacur <[email protected]> Cc: Luis Goncalves <[email protected]> Cc: Chang Yin <[email protected]> Cc: Qiao Zhao <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Tomas Glozar <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
show more ...
|