JavaScript Tests - jsDriver.pl -k|-K fail to report test failures, bug 404539, r=igor, not part of the build
git-svn-id: svn://10.0.0.236/trunk@239724 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
df3904b7f0
commit
10fe73aaed
@ -314,7 +314,7 @@ sub execute_tests {
|
||||
}
|
||||
|
||||
# watch for failures
|
||||
if ($line =~ /^\wFAILED!/) {
|
||||
if ($line =~ /^\s*FAILED!/) {
|
||||
$failure_lines .= $line;
|
||||
}
|
||||
|
||||
@ -1422,6 +1422,9 @@ sub report_failure {
|
||||
|
||||
if ($opt_console_failures) {
|
||||
if ($opt_console_failures_line) {
|
||||
# report_summary_result increments $failures_reported
|
||||
# decrement here to prevent overcounting of failures
|
||||
$failures_reported--;
|
||||
my $linemessage = $message;
|
||||
$linemessage =~ s/[\n\r]+/ /mg;
|
||||
$bug_number = "none" unless $bug_number;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user