Added exit status codes to test runner
This commit is contained in:
parent
a9a5bea1c7
commit
d45a590531
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ class ReflectionBasedTestRunner implements ITestRunner
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
$testFixtures = $this->getTestFixtures($this->filter);
|
$testFixtures = $this->getTestFixtures($this->filter);
|
||||||
$this->runAll($testFixtures);
|
$success = $this->runAll($testFixtures);
|
||||||
|
exit($success ? 0 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setFilter($filter)
|
public function setFilter($filter)
|
||||||
|
|
Loading…
Reference in a new issue