Skip to content

Commit

Permalink
Merge branch 'PHP-8.3' into PHP-8.4
Browse files Browse the repository at this point in the history
* PHP-8.3:
  Hide xfail/xleak test summary
  • Loading branch information
iluuu1994 committed Dec 12, 2024
2 parents 901ce61 + e7af08d commit b86308c
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions run-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -3101,18 +3101,6 @@ function get_summary(bool $show_ext_summary): string
$failed_test_summary .= "=====================================================================\n";
}

if (count($PHP_FAILED_TESTS['XFAILED'])) {
$failed_test_summary .= '
=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
';
foreach ($PHP_FAILED_TESTS['XFAILED'] as $failed_test_data) {
$failed_test_summary .= $failed_test_data['test_name'] . $failed_test_data['info'] . "\n";
}
$failed_test_summary .= "=====================================================================\n";
}

if (count($PHP_FAILED_TESTS['BORKED'])) {
$failed_test_summary .= '
=====================================================================
Expand Down Expand Up @@ -3163,19 +3151,6 @@ function get_summary(bool $show_ext_summary): string
$failed_test_summary .= "=====================================================================\n";
}

if (count($PHP_FAILED_TESTS['XLEAKED'])) {
$failed_test_summary .= '
=====================================================================
EXPECTED LEAK TEST SUMMARY
---------------------------------------------------------------------
';
foreach ($PHP_FAILED_TESTS['XLEAKED'] as $failed_test_data) {
$failed_test_summary .= $failed_test_data['test_name'] . $failed_test_data['info'] . "\n";
}

$failed_test_summary .= "=====================================================================\n";
}

if ($failed_test_summary && !getenv('NO_PHPTEST_SUMMARY')) {
$summary .= $failed_test_summary;
}
Expand Down

0 comments on commit b86308c

Please sign in to comment.