diff mbox series

[1/2] tools/genhtml.pl: Add deprecated warning

Message ID 20240903124644.757127-1-pvorel@suse.cz
State Accepted
Headers show
Series [1/2] tools/genhtml.pl: Add deprecated warning | expand

Commit Message

Petr Vorel Sept. 3, 2024, 12:46 p.m. UTC
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(+)

Comments

Cyril Hrubis Sept. 3, 2024, 2:18 p.m. UTC | #1
Hi!
For both:

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Petr Vorel Sept. 3, 2024, 2:30 p.m. UTC | #2
Hi all,

thanks, merged!

Kind regards,
Petr
diff mbox series

Patch

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();