Commit d5dd11d1 authored by Jelmer Vernooij's avatar Jelmer Vernooij Committed by Stefan Metzmacher

r26190: Allow successful as well as success.

parent f0fcad0a
......@@ -20,7 +20,7 @@ sub parse_results($$$$$)
$msg_ops->control_msg($msg_state, $_);
$open_tests->{$1} = 1;
$msg_ops->start_test($msg_state, $1);
} elsif (/^(success|failure|skip|error): (.*?)( \[)?([ \t]*)\n/) {
} elsif (/^(success|successful|failure|skip|error): (.*?)( \[)?([ \t]*)\n/) {
$msg_ops->control_msg($msg_state, $_);
my $reason = undef;
if ($3) {
......@@ -32,7 +32,7 @@ sub parse_results($$$$$)
}
}
my $result = $1;
if ($1 eq "success") {
if ($1 eq "success" or $1 eq "successful") {
delete $open_tests->{$2};
if ($expecting_failure->("$msg_state->{NAME}/$2")) {
$statistics->{TESTS_UNEXPECTED_OK}++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment