From 0d5ad963a1f7006a4edb3837d9040d67196a038c Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Tue, 13 Aug 2013 13:02:06 -0400 Subject: [PATCH] add overall timing info Signed-off-by: Jason Etheridge --- qa/test_output_webifier.pl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/qa/test_output_webifier.pl b/qa/test_output_webifier.pl index 36f3f50f4..9d2a441e3 100755 --- a/qa/test_output_webifier.pl +++ b/qa/test_output_webifier.pl @@ -9,6 +9,7 @@ my $subpage_count = 0; my $subpage = ''; my $opensrf_tip = ''; my $evergreen_tip = ''; +my @all_lines = (); open MAIN_PAGE, ">test.html"; print MAIN_PAGE html_header('Test Output Summary'); @@ -20,6 +21,7 @@ print MAIN_PAGE "\n" . branch_tips() . "\n" . html_footer(); +print MAIN_PAGE "\n"; +print MAIN_PAGE "

Timing

\n
";
+my $sys_time = pop @all_lines;
+my $user_time = pop @all_lines;
+my $real_time = pop @all_lines;
+print MAIN_PAGE "$real_time$user_time$sys_time";
+print MAIN_PAGE "
\n"; +print MAIN_PAGE branch_tips() . "\n"; +print MAIN_PAGE html_footer(); close MAIN_PAGE; close PASS_FAIL; update_rss(); -- 2.11.0