diff --git a/tools/genhtml.pl b/tools/genhtml.pl
index d8f52663bb1..5a9256500ed 100644
--- a/tools/genhtml.pl
+++ b/tools/genhtml.pl
@@ -162,6 +162,7 @@ ()
"
$termination_id_value[1] | \n" .
"$corefile_value[1] | \n";
$row_line =~ s//
/;
+ $flag4++;
}
if ( $flag4 == 3 ) {
@variable_value_pair = split(/\ /, $line);
@@ -170,7 +171,6 @@ ()
$row_line = $row_line . "$cutime_value[1] | \n" .
"$cstime_value[1] |
\n";
}
- $flag4++;
}
if ( $line =~ /$execution_tag/ ) {
$flag2 = 0;
@@ -186,18 +186,23 @@ ()
if ($line =~ "termination_id=1" ) {
$detected_fail = 1;
$failed_test_counter++;
+ $flag4 = 2;
} elsif ($line =~ "termination_id=2" ) {
$detected_brok = 1;
$brok_test_counter++;
+ $flag4 = 2;
} elsif ($line =~ "termination_id=4" ) {
$detected_warn = 1;
$warn_test_counter++;
+ $flag4 = 2;
} elsif ($line =~ "termination_id=32" ) {
$detected_conf = 1;
$conf_test_counter++;
+ $flag4 = 2;
} elsif ($line =~ "termination_id=0" ) {
$detected_pass = 1;
$test_passed++;
+ $flag4 = 2;
}
}
if ( $line =~ /$output_tag/ ) {