Skip to content

Commit

Permalink
Fixing typo and implementing -filter in testsuite shell. Fixes #211
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 26, 2010
1 parent bd43866 commit e9ba86b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cake/console/libs/testsuite.php
Expand Up @@ -88,6 +88,9 @@ public function parseArgs() {
if (isset($this->args[3]) && $this->args[3] == 'cov') {
$params['codeCoverage'] = true;
}
if (isset($this->params['filter'])) {
$params['filter'] = $this->params['filter'];
}
return $params;
}

Expand All @@ -109,7 +112,7 @@ public function main() {
if ($result instanceof PHPUnit_Framework_TestResult) {
$exit = ($result->errorCount() + $result->failureCount()) > 0;
}
$this->_stop($exitCode);
$this->_stop($exit);
}

/**
Expand Down

0 comments on commit e9ba86b

Please sign in to comment.