Test Plan: Run `arc unit` anywhere.
Reviewers: epriestley
Reviewed By: epriestley
CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D3017
public function run() {
$this->projectRoot = $this->getWorkingCopy()->getProjectRoot();
-
$this->affectedTests = array();
foreach ($this->getPaths() as $path) {
- $path = Filesystem::resolvePath($path);
+ $path = Filesystem::resolvePath($path, $this->projectRoot);
// TODO: add support for directories
// Users can call phpunit on the directory themselves