* [LTP] [PATCH 1/1] runltp: fix regex for disabled testcases
@ 2026-02-03 9:43 Vasileios Almpanis via ltp
2026-02-03 10:26 ` Andrea Cervesato via ltp
0 siblings, 1 reply; 5+ messages in thread
From: Vasileios Almpanis via ltp @ 2026-02-03 9:43 UTC (permalink / raw)
To: ltp
Currently for all disabled testcases we append TCONF
so that they don't completely disappear from the results.
Unfortunately this regex also matches comments that
include the testcase name creating multiple results for the
same testcase as with the folloing example.
sed -n '/\<cgroup\>/p' runtest/controllers
cgroup cgroup_regression_test.sh
# Stress test for debug cgroup
# Stress test for cpuset cgroup
# Stress test for cpu cgroup
# Stress test for cpuacct cgroup
# Stress test for memory cgroup
# Stress test for freezer cgroup
# Stress test for devices cgroup
# Stress test for blkio cgroup
# Stress test for net_cls cgroup
# Stress test for perf_event cgroup
# Stress test for net_prio cgroup
# Stress test for hugetlb cgroup
Add a line anchor to the regex to not match
lines not related to the disabled testcases.
Signed-off-by: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>
---
runltp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runltp b/runltp
index 0d9062569..e1748e493 100755
--- a/runltp
+++ b/runltp
@@ -650,7 +650,7 @@ EOF
if [ -n "${SKIPFILE}" ]; then
for test_name in $(awk '{print $1}' "${SKIPFILE}"); do
case "${test_name}" in \#*) continue;; esac
- sed -i "/\<${test_name}\>/c\\${test_name} exit 32;" alltests
+ sed -i "/^\<${test_name}\>/c\\${test_name} exit 32;" alltests
done
fi
--
2.43.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [LTP] [PATCH 1/1] runltp: fix regex for disabled testcases
2026-02-03 9:43 [LTP] [PATCH 1/1] runltp: fix regex for disabled testcases Vasileios Almpanis via ltp
@ 2026-02-03 10:26 ` Andrea Cervesato via ltp
2026-02-04 9:27 ` Cyril Hrubis
0 siblings, 1 reply; 5+ messages in thread
From: Andrea Cervesato via ltp @ 2026-02-03 10:26 UTC (permalink / raw)
To: Vasileios Almpanis, ltp
Hi!
We are not supporting runltp anymore, as you can read in the
documentation:
https://linux-test-project.readthedocs.io/en/latest/developers/todo.html#fade-out-old-tests-runner
And from its execution:
~ $ /opt/ltp/runltp --help
-------------------------------------------
INFO: runltp script is deprecated, try kirk
https://github.com/linux-test-project/kirk
Please use kirk instead, which is included in the LTP releases and it
can be installed it via pip/sources:
https://kirk.readthedocs.io/en/latest/users/quickstart.html
King regards,
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [PATCH 1/1] runltp: fix regex for disabled testcases
2026-02-03 10:26 ` Andrea Cervesato via ltp
@ 2026-02-04 9:27 ` Cyril Hrubis
2026-02-04 9:53 ` Li Wang via ltp
0 siblings, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2026-02-04 9:27 UTC (permalink / raw)
To: Andrea Cervesato; +Cc: Vasileios Almpanis, ltp
Hi!
> We are not supporting runltp anymore, as you can read in the
> documentation:
Kirk has been stable for some time, I suppose that it's about the time
we finally remove runltp from LTP.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [PATCH 1/1] runltp: fix regex for disabled testcases
2026-02-04 9:27 ` Cyril Hrubis
@ 2026-02-04 9:53 ` Li Wang via ltp
2026-02-04 11:56 ` Petr Vorel
0 siblings, 1 reply; 5+ messages in thread
From: Li Wang via ltp @ 2026-02-04 9:53 UTC (permalink / raw)
To: Cyril Hrubis; +Cc: Vasileios Almpanis, ltp
> Kirk has been stable for some time, I suppose that it's about the time
> we finally remove runltp from LTP.
+1
Regards,
Li Wang
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [PATCH 1/1] runltp: fix regex for disabled testcases
2026-02-04 9:53 ` Li Wang via ltp
@ 2026-02-04 11:56 ` Petr Vorel
0 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2026-02-04 11:56 UTC (permalink / raw)
To: Li Wang; +Cc: Vasileios Almpanis, ltp
> > Kirk has been stable for some time, I suppose that it's about the time
> > we finally remove runltp from LTP.
> +1
Very good point, patchset posted:
https://lore.kernel.org/ltp/20260204115339.224261-1-pvorel@suse.cz/T/#t
https://patchwork.ozlabs.org/project/ltp/list/?series=490958&state=*
Kind regards,
Petr
> Regards,
> Li Wang
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-02-04 11:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03 9:43 [LTP] [PATCH 1/1] runltp: fix regex for disabled testcases Vasileios Almpanis via ltp
2026-02-03 10:26 ` Andrea Cervesato via ltp
2026-02-04 9:27 ` Cyril Hrubis
2026-02-04 9:53 ` Li Wang via ltp
2026-02-04 11:56 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox