Commit 08fce4fb authored by Franz Liedke's avatar Franz Liedke

After running tests, exit with PHPUnit's exit status.

parent e7f665b5
......@@ -87,9 +87,12 @@ class Runner extends Task {
// 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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment