After running tests, exit with PHPUnit's exit status.
This commit is contained in:
parent
e7f665b55d
commit
08fce4fbf8
|
@ -87,9 +87,12 @@ protected function test()
|
|||
// strings with spaces inside should be wrapped in quotes.
|
||||
$path = escapeshellarg($path);
|
||||
|
||||
passthru('phpunit --configuration '.$path);
|
||||
passthru('phpunit --configuration '.$path, $status);
|
||||
|
||||
@unlink($path);
|
||||
|
||||
// Pass through the exit status
|
||||
exit($status);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue