diff --git a/gui/lf_gui_report_summary.pl b/gui/lf_gui_report_summary.pl index cb17e17f..713ed5ec 100755 --- a/gui/lf_gui_report_summary.pl +++ b/gui/lf_gui_report_summary.pl @@ -20,6 +20,7 @@ use lib "../"; use lib "./"; use Getopt::Long; +use HTML::Entities; our $dir = ""; our $notes = ""; @@ -32,10 +33,10 @@ our $title = "Automated test results."; ######################################################################## our $usage = <<"__EndOfUsage__"; -$0 [ --dir directory-to-process --notes testbed-notes-file.html --gitlog gitlog-output.txt ] +$0 [ --dir directory-to-process --notes testbed-notes-file.html --gitlog gitlog-output.txt ] < html_template.html Example: - $0 --dir ~/tmp/results --title "My Title" --notes testbeds/my_testbed/testbed_notes.html --gitlog /tmp/gitlog.txt + cat html-template | $0 --dir ~/tmp/results --title "My Title" --notes testbeds/my_testbed/testbed_notes.html --gitlog /tmp/gitlog.txt __EndOfUsage__ my $i = 0; @@ -100,8 +101,10 @@ my $tests_tr = ""; foreach my $line (@files) { if ( -d $line) { + #print "Checking report: $line\n"; if ( -d "$line/logs") { $tests_tr .= "