Merge pull request #192 from c2is/atoum

Added chdir because atoum as bundle need to be run from app root path
This commit is contained in:
Dan Cryer 2013-11-01 03:46:46 -07:00
commit 14f00ee512

View file

@ -49,7 +49,7 @@ class Atoum implements \PHPCI\Plugin
$dirPath = $this->phpci->buildPath . DIRECTORY_SEPARATOR . $this->directory;
$cmd .= " -d '{$dirPath}'";
}
chdir($this->phpci->buildPath);
$output = '';
$status = true;
exec($cmd, $output);