Added chdir because atoum as bundle need to be run from app root path

This commit is contained in:
a.cianfarani 2013-10-28 17:41:15 +01:00
commit e2c7a4cd43

View file

@ -45,7 +45,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);