* [LTP] [PATCH 1/2] tools/genhtml.pl: Add deprecated warning
@ 2024-09-03 12:46 Petr Vorel
2024-09-03 12:46 ` [LTP] [PATCH 2/2] runltp: Print deprecated warnings to STDERR Petr Vorel
2024-09-03 14:18 ` [LTP] [PATCH 1/2] tools/genhtml.pl: Add deprecated warning Cyril Hrubis
0 siblings, 2 replies; 5+ messages in thread
From: Petr Vorel @ 2024-09-03 12:46 UTC (permalink / raw)
To: ltp; +Cc: automated-testing
Script will be removed. People which want to have statistics should use
LTP runner kirk.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
tools/genhtml.pl | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/genhtml.pl b/tools/genhtml.pl
index 5a9256500e..79c178d014 100644
--- a/tools/genhtml.pl
+++ b/tools/genhtml.pl
@@ -87,6 +87,11 @@ sub get_background_colour_column() {
}
}
+print STDERR "-------------------------------------------------\n";
+print STDERR "INFO: genhtml.pl script is deprecated, try kirk\n";
+print STDERR "(new LTP runner which also generates JSON output)\n";
+print STDERR "https://github.com/linux-test-project/kirk\n";
+print STDERR "-------------------------------------------------\n";
if ($start_tag eq "" || $end_tag eq "" || $output_tag eq "" || $execution_tag eq "") {
syntax();
--
2.45.2
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [LTP] [PATCH 2/2] runltp: Print deprecated warnings to STDERR
2024-09-03 12:46 [LTP] [PATCH 1/2] tools/genhtml.pl: Add deprecated warning Petr Vorel
@ 2024-09-03 12:46 ` Petr Vorel
2024-09-03 13:00 ` Avinesh Kumar
2024-09-03 14:18 ` [LTP] [PATCH 1/2] tools/genhtml.pl: Add deprecated warning Cyril Hrubis
1 sibling, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2024-09-03 12:46 UTC (permalink / raw)
To: ltp; +Cc: automated-testing
Probably more change people will notice
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
runltp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/runltp b/runltp
index 4b0bd08f15..0d90625691 100755
--- a/runltp
+++ b/runltp
@@ -70,10 +70,10 @@
deprecated()
{
- echo "-------------------------------------------"
- echo "INFO: runltp script is deprecated, try kirk"
- echo "https://github.com/linux-test-project/kirk"
- echo "-------------------------------------------"
+ echo "-------------------------------------------" >&2
+ echo "INFO: runltp script is deprecated, try kirk" >&2
+ echo "https://github.com/linux-test-project/kirk" >&2
+ echo "-------------------------------------------" >&2
}
--
2.45.2
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [LTP] [PATCH 2/2] runltp: Print deprecated warnings to STDERR
2024-09-03 12:46 ` [LTP] [PATCH 2/2] runltp: Print deprecated warnings to STDERR Petr Vorel
@ 2024-09-03 13:00 ` Avinesh Kumar
0 siblings, 0 replies; 5+ messages in thread
From: Avinesh Kumar @ 2024-09-03 13:00 UTC (permalink / raw)
To: Petr Vorel; +Cc: ltp, automated-testing
Hi Petr,
Reviewed-by: Avinesh Kumar <akumar@suse.de>
for both.
Thank you,
Avinesh
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [PATCH 1/2] tools/genhtml.pl: Add deprecated warning
2024-09-03 12:46 [LTP] [PATCH 1/2] tools/genhtml.pl: Add deprecated warning Petr Vorel
2024-09-03 12:46 ` [LTP] [PATCH 2/2] runltp: Print deprecated warnings to STDERR Petr Vorel
@ 2024-09-03 14:18 ` Cyril Hrubis
2024-09-03 14:30 ` Petr Vorel
1 sibling, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2024-09-03 14:18 UTC (permalink / raw)
To: Petr Vorel; +Cc: ltp, automated-testing
Hi!
For both:
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
--
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/2] tools/genhtml.pl: Add deprecated warning
2024-09-03 14:18 ` [LTP] [PATCH 1/2] tools/genhtml.pl: Add deprecated warning Cyril Hrubis
@ 2024-09-03 14:30 ` Petr Vorel
0 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2024-09-03 14:30 UTC (permalink / raw)
To: Cyril Hrubis; +Cc: ltp, automated-testing
Hi all,
thanks, merged!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-09-03 14:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 12:46 [LTP] [PATCH 1/2] tools/genhtml.pl: Add deprecated warning Petr Vorel
2024-09-03 12:46 ` [LTP] [PATCH 2/2] runltp: Print deprecated warnings to STDERR Petr Vorel
2024-09-03 13:00 ` Avinesh Kumar
2024-09-03 14:18 ` [LTP] [PATCH 1/2] tools/genhtml.pl: Add deprecated warning Cyril Hrubis
2024-09-03 14:30 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox