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

Commit c792fff

Browse files
author
Jeff Verkoeyen
committed
Merge branch 'develop' into stable
2 parents cc0f633 + 2d3c03f commit c792fff

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 3.0.1
2+
3+
* If tests fail to build we no longer generate a
4+
`Unhandled Exception ("PhutilTypeMissingParametersException")` exception on Phabricator. We were
5+
not previously providing a name to the ArcanistUnitTestResult instance.
6+
17
## 3.0.0
28

39
* Commands now always run from the root directory of the project rather than from the shell's

engine/XcodeUnitTestEngine.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ public function run() {
132132
// Error-code 65 is thrown for build/unit test failures.
133133
if ($builderror !== 0 && $builderror !== 65) {
134134
return array(id(new ArcanistUnitTestResult())
135+
->setName("Xcode test engine")
135136
->setUserData($this->stderr)
136137
->setResult(ArcanistUnitTestResult::RESULT_BROKEN));
137138
}

parser/XcodeTestResultParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function setXcodeArgs($args) {
3737
public function parseTestResults($path, $test_results) {
3838
if (!$test_results) {
3939
$result = id(new ArcanistUnitTestResult())
40-
->setName($path)
40+
->setName("Xcode test engine")
4141
->setUserData($this->stderr)
4242
->setResult(ArcanistUnitTestResult::RESULT_BROKEN);
4343
return array($result);

0 commit comments

Comments
 (0)