Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit 7f2f509

Browse files
author
Jeff Verkoeyen
committed
Merge branch 'develop' into stable
2 parents 6539a86 + bbe0e5f commit 7f2f509

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.0.2
2+
3+
* Error line detection is now more flexible. Any output line with "error:" will be detected and
4+
bubble up as an error.
5+
16
## 2.0.1
27

38
* Better handling of non-unit-test failures, such as CocoaPods getting out of sync.

parser/XcodeTestResultParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function parseTestResults($path, $test_results) {
6363
continue;
6464
}
6565

66-
if ($this->startsWith($line, 'error: ')) {
66+
if (preg_match('/.+?error:/', $line) === 1) {
6767
$result = new ArcanistUnitTestResult();
6868
$result->setName('xcode-unit-engine');
6969
foreach ($this->xcodeargs as $arg) {

0 commit comments

Comments
 (0)