After running tests, exit with PHPUnit's exit status.
This commit is contained in:
@@ -87,9 +87,12 @@ class Runner extends Task {
|
|||||||
// strings with spaces inside should be wrapped in quotes.
|
// strings with spaces inside should be wrapped in quotes.
|
||||||
$path = escapeshellarg($path);
|
$path = escapeshellarg($path);
|
||||||
|
|
||||||
passthru('phpunit --configuration '.$path);
|
passthru('phpunit --configuration '.$path, $status);
|
||||||
|
|
||||||
@unlink($path);
|
@unlink($path);
|
||||||
|
|
||||||
|
// Pass through the exit status
|
||||||
|
exit($status);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user