From: Tomas Glozar <tglozar@redhat.com>
To: John Kacur <jkacur@redhat.com>, Clark Williams <williams@redhat.com>
Cc: Linux RT Users <linux-rt-users@vger.kernel.org>,
Tomas Glozar <tglozar@redhat.com>
Subject: [PATCH] rteval: Update E2E tests to cover multiple recent changes
Date: Thu, 10 Sep 2026 13:20:48 +0200 [thread overview]
Message-ID: <20260910112048.310474-1-tglozar@redhat.com> (raw)
There have been multiple changes to the command line passed by rteval to
rtla:
- Commit f2c619a7ca08 ("rteval: Fix timerlat module for rtla short
option parsing bug") changed the format of rteval's short options from
"-o<arg>" and "-o=<arg>" to "-o <arg>".
- Commit 5153f0e854cf ("rteval: Refactor timerlat parsing and fix max
line duplication bug") commented out "--no-summary" to get more
information out of rtla.
- Commit daf3e54bae7c ("rteval: Fix timerlat stoptrace trace analysis
capture in XML") makes rteval not pass "--no-aa" in runs with
--timerlat-stoptrace.
Reflect the changes in E2E tests to make them pass again. Note that
some partial matches were extended with more arguments in the process
for the purpose of more clarity.
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
---
tests/e2e/measurement.t | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/e2e/measurement.t b/tests/e2e/measurement.t
index 9d1f438..62c39eb 100644
--- a/tests/e2e/measurement.t
+++ b/tests/e2e/measurement.t
@@ -72,30 +72,30 @@ check "timerlat duration" \
check "timerlat command, with --measurement-cpulist" \
"--noload -d 1 --measurement-cpulist=0-1" 0 \
- 'Command: rtla timerlat hist -p100 -P f:95 -u -c0-1'
+ 'Command: rtla timerlat hist -p 100 -P f:95 -u -c 0-1 -E 3500 --no-aa --dma-latency=0'
check "timerlat command, with --measurement-run-on-isolcpus" \
"--noload -d 1 --measurement-run-on-isolcpus" 0 \
- 'Command: rtla timerlat hist -p100 -P f:95 -u'
+ 'Command: rtla timerlat hist -p 100 -P f:95 -u -c [0-9|-]+ -E 3500 --no-aa --dma-latency=0'
check "timerlat command, with --timerlat-interval" \
"--noload -d 1 --timerlat-interval 2000" 0 \
- 'Command: rtla timerlat hist -p2000 -P f:95'
+ 'Command: rtla timerlat hist -p 2000 -P f:95 -u -c [0-9|-]+ -E 3500 --no-aa --dma-latency=0'
check "timerlat command, with --timerlat-priority" \
"--noload -d 1 --timerlat-priority 80" 0 \
- 'Command: rtla timerlat hist -p100 -P f:80 -u'
+ 'Command: rtla timerlat hist -p 100 -P f:80 -u -c [0-9|-]+ -E 3500 --no-aa --dma-latency=0'
check "timerlat command, with --timerlat-buckets" \
"--noload -d 1 --timerlat-buckets 4000" 0 \
- 'Command: rtla timerlat hist -p100 -P f:95 -u -c[0-9|-]+ -E4000'
+ 'Command: rtla timerlat hist -p 100 -P f:95 -u -c [0-9|-]+ -E 4000 --no-aa --dma-latency=0'
check "timerlat command, with --timerlat-stoptrace" \
"--noload -d 1 --timerlat-stoptrace 1" any \
- 'Command: rtla timerlat hist -p100 -P f:95 -u -c[0-9|-]+ -E3500 --no-summary --no-aa --dma-latency=0 -T1'
+ 'Command: rtla timerlat hist -p 100 -P f:95 -u -c [0-9|-]+ -E 3500 --dma-latency=0 -T 1'
check "timerlat command, with --timerlat-trace" \
"--noload -d 1 --timerlat-stoptrace 1 --timerlat-trace trace.txt" any \
- 'Command: rtla timerlat hist -p100 -P f:95 -u -c[0-9|-]+ -E3500 --no-summary --no-aa --dma-latency=0 -T1 -t=trace.txt'
+ 'Command: rtla timerlat hist -p 100 -P f:95 -u -c [0-9|-]+ -E 3500 --dma-latency=0 -T 1 -t trace.txt'
test_end
--
2.55.0
reply other threads:[~2026-09-10 11:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260910112048.310474-1-tglozar@redhat.com \
--to=tglozar@redhat.com \
--cc=jkacur@redhat.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=williams@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.