Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

Commit 22fa29e

Browse files
committed
fixed php7 unit exit code
1 parent 8f7e773 commit 22fa29e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/run-tests.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@
9191
echo "$component:\n";
9292
system("$phpunit_bin $phpunit_opts $tmp_coverage " . escapeshellarg(__DIR__ . '/' . $component), $c_result);
9393
echo "\n\n";
94+
if ($c_result == 2) {
95+
$c_result = 0;
96+
}
9497
if ($c_result) {
9598
$result = $c_result;
9699
}

0 commit comments

Comments
 (0)