Skip to content

Commit 59d413c

Browse files
committed
make sure run-tests reports exit status upon prerequisite error
1 parent 938f256 commit 59d413c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run-tests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
+-----------------------------------------------------------+
4444
4545
NO_PCRE_ERROR;
46-
exit;
46+
exit(1);
4747
}
4848

4949
if (!function_exists('proc_open')) {
@@ -56,7 +56,7 @@
5656
+-----------------------------------------------------------+
5757
5858
NO_PROC_OPEN_ERROR;
59-
exit;
59+
exit(1);
6060
}
6161

6262
// Version constants only available as of 5.2.8

0 commit comments

Comments
 (0)