MDL-39752 behat: Parallel execution support

This commit is contained in:
Tony Levi
2015-03-09 06:52:54 +08:00
committed by Rajesh Taneja
parent b90f98dade
commit 08e7f97ee4
11 changed files with 616 additions and 9 deletions
+3
View File
@@ -156,6 +156,9 @@ function testing_error($errorcode, $text = '') {
// do not write to error stream because we need the error message in PHP exec result from web ui
echo($text."\n");
if (isset($_SERVER['REMOTE_ADDR'])) {
header('HTTP/1.1 500 Internal Server Error');
}
exit($errorcode);
}