1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-23 17:18:50 +02:00

Fix arc unit --everything

Summary: This was broken in D13573.

Test Plan: Ran `arc unit --everything` in rPHU.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13864
This commit is contained in:
Joshua Spence 2015-08-11 22:37:28 +10:00
parent e00e2939c1
commit 01c3f41207

View file

@ -80,9 +80,11 @@ final class PhutilUnitTestEngine extends ArcanistUnitTestEngine {
private function getAllTests() {
$project_root = $this->getWorkingCopy()->getProjectRoot();
$symbols = id(new PhutilClassMapQuery())
$symbols = id(new PhutilSymbolLoader())
->setType('class')
->setAncestorClass('PhutilTestCase')
->execute();
->setConcreteOnly(true)
->selectSymbolsWithoutLoading();
$in_working_copy = array();