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

Commit

Permalink
Merge branch 'develop' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Verkoeyen committed Apr 27, 2016
2 parents cc0f633 + 2d3c03f commit c792fff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 3.0.1

* If tests fail to build we no longer generate a
`Unhandled Exception ("PhutilTypeMissingParametersException")` exception on Phabricator. We were
not previously providing a name to the ArcanistUnitTestResult instance.

## 3.0.0

* Commands now always run from the root directory of the project rather than from the shell's
Expand Down
1 change: 1 addition & 0 deletions engine/XcodeUnitTestEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public function run() {
// Error-code 65 is thrown for build/unit test failures.
if ($builderror !== 0 && $builderror !== 65) {
return array(id(new ArcanistUnitTestResult())
->setName("Xcode test engine")
->setUserData($this->stderr)
->setResult(ArcanistUnitTestResult::RESULT_BROKEN));
}
Expand Down
2 changes: 1 addition & 1 deletion parser/XcodeTestResultParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function setXcodeArgs($args) {
public function parseTestResults($path, $test_results) {
if (!$test_results) {
$result = id(new ArcanistUnitTestResult())
->setName($path)
->setName("Xcode test engine")
->setUserData($this->stderr)
->setResult(ArcanistUnitTestResult::RESULT_BROKEN);
return array($result);
Expand Down

0 comments on commit c792fff

Please sign in to comment.