mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added exit status codes to test runner
This commit is contained in:
@ -11,7 +11,8 @@ class ReflectionBasedTestRunner implements ITestRunner
|
||||
public function run()
|
||||
{
|
||||
$testFixtures = $this->getTestFixtures($this->filter);
|
||||
$this->runAll($testFixtures);
|
||||
$success = $this->runAll($testFixtures);
|
||||
exit($success ? 0 : 1);
|
||||
}
|
||||
|
||||
public function setFilter($filter)
|
||||
|
Reference in New Issue
Block a user