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

Petr Vorel pvorel@suse.cz
Tue Sep 3 14:46:43 CEST 2024


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



More information about the ltp mailing list