Fixing typo and implementing -filter in testsuite shell. Fixes #211

This commit is contained in:
mark_story 2010-06-26 14:07:38 -04:00
parent bd43866f5b
commit e9ba86b9e6

View file

@ -88,6 +88,9 @@ class TestSuiteShell extends Shell {
if (isset($this->args[3]) && $this->args[3] == 'cov') {
$params['codeCoverage'] = true;
}
if (isset($this->params['filter'])) {
$params['filter'] = $this->params['filter'];
}
return $params;
}
@ -109,7 +112,7 @@ class TestSuiteShell extends Shell {
if ($result instanceof PHPUnit_Framework_TestResult) {
$exit = ($result->errorCount() + $result->failureCount()) > 0;
}
$this->_stop($exitCode);
$this->_stop($exit);
}
/**