From: Jason Etheridge Date: Mon, 28 Jan 2019 08:26:31 +0000 (-0500) Subject: some debugging and cosmetics X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3fda3bb5ec20f247ce6798e3a186a0b2823b0785;p=working%2Frandom.git some debugging and cosmetics --- diff --git a/qa/test_output_webifier.pl b/qa/test_output_webifier.pl index 8e6a70e46..9891fd3ea 100755 --- a/qa/test_output_webifier.pl +++ b/qa/test_output_webifier.pl @@ -3,10 +3,13 @@ # This script assumes git checkouts at ~/git/Evergreen and ~/git/OpenSRF that # correspond to branches used to produce the test output being parsed. +open DEBUG, ">debug.log"; + use CGI qw(:standard escapeHTML); my $q = CGI->new; my $state = 'skipping'; +print DEBUG "state = $state\n"; my $error_count = 0; my $subpage_return_value; my $subpage_count = 0; @@ -14,6 +17,7 @@ my $subpage = ''; my $opensrf_tip = ''; my $evergreen_tip = ''; my @all_lines = (); +my $first_failure = 0; open MAIN_PAGE, ">test.html"; print MAIN_PAGE html_header('Test Output Summary'); @@ -21,8 +25,10 @@ print MAIN_PAGE qq^[test.sh output]\n^; print MAIN_PAGE qq^[installer_installer.sh output]\n^; print MAIN_PAGE qq^[Previous Runs]\n^; print MAIN_PAGE qq^[Git]\n^; +print MAIN_PAGE qq^[First Failure]\n^; print MAIN_PAGE "

Test Output Summary

\n"; -print MAIN_PAGE 'HTML generated on ' . `date` . "\n"; +print MAIN_PAGE '

HTML generated on ' . `date` . "

\n"; +print MAIN_PAGE "

XXxxXX

\n"; print MAIN_PAGE "