[PATCH libevl v2 0/4] evl-test: stress load and latmus integration
Tobias Schaffner <[email protected]> Thu, 9 Jul 2026 16:35:12 +0200
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <[email protected]> |
Extend evl-test to exercise the system while the tests run and to
measure latency at the end of a session.
The motivation is to allow running the suite under stress in CI to
surface bugs that only show up under load.
latmus run under that same load and with a latency threshold will allow
the pipeline to spot latency regressions.
Example:
# run latmus under CPU/memory stress, fail above 200us,
# keep the latmus report
evl test --stress-cmd "stress-ng --cpu 4 --vm 2 --vm-bytes 1G" \
latmus -- -T 60 -A 200
Changes since v1:
* Introduce a small shell script wrapper in the test dir to add latmus
to the testsuite instead of calling it in the end after the other tests.
Tobias Schaffner (4):
evl-test: add stress command support for background load testing
evl-test: improve help message with detailed usage information
latmus: send setup messages to stdout instead of stderr
tests: Add latmus wrapper script for evl-test integration
latmus/latmus.c | 4 ++--
tests/latmus | 16 +++++++++++++
tests/meson.build | 11 +++++++++
utils/evl-test | 57 ++++++++++++++++++++++++++++++++++++++++++++++-
4 files changed, 85 insertions(+), 3 deletions(-)
create mode 100755 tests/latmus
--
2.43.0