mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 23:02:41 +01:00
Support PHPUnit 3.7 message changes
Summary: PHPUnit 3.7 now includes user message as well. Test Plan: Ran phpunit tests Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4662
This commit is contained in:
parent
44e25495ca
commit
df04c79a90
1 changed files with 2 additions and 2 deletions
|
@ -71,10 +71,10 @@ final class PhpunitResultParser {
|
|||
$user_data .= sprintf("\n%s:%s", $trace->file, $trace->line);
|
||||
}
|
||||
} else if ('error' == $event->status) {
|
||||
if ('Skipped Test' == $event->message) {
|
||||
if (strpos($event->message, 'Skipped Test') !== false) {
|
||||
$status = ArcanistUnitTestResult::RESULT_SKIP;
|
||||
$user_data .= $event->message;
|
||||
} else if ('Incomplete Test' == $event->message) {
|
||||
} else if (strpos($event->message, 'Incomplete Test') !== false) {
|
||||
$status = ArcanistUnitTestResult::RESULT_SKIP;
|
||||
$user_data .= $event->message;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue