Skip to content

Commit dd85db4

Browse files
committed
exts_skipped is always empty, rm skipped/tested counts
1 parent a26017f commit dd85db4

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

run-tests.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function main(): void
153153
*/
154154
global $DETAILED, $PHP_FAILED_TESTS, $SHOW_ONLY_GROUPS, $argc, $argv, $cfg,
155155
$cfgfiles, $cfgtypes, $conf_passed, $end_time, $environment,
156-
$exts_skipped, $exts_tested, $exts_to_test, $failed_tests_file,
156+
$exts_to_test, $failed_tests_file,
157157
$ignored_by_ext, $ini_overwrites, $is_switch, $colorize,
158158
$log_format, $matches, $no_clean, $no_file_cache,
159159
$optionals, $pass_option_n, $pass_options,
@@ -735,8 +735,6 @@ function main(): void
735735
} else {
736736
// Compile a list of all test files (*.phpt).
737737
$test_files = [];
738-
$exts_tested = $exts_to_test;
739-
$exts_skipped = [];
740738
$ignored_by_ext = [];
741739
sort($exts_to_test);
742740
$test_dirs = [];
@@ -3060,7 +3058,7 @@ function compute_summary(): void
30603058

30613059
function get_summary(bool $show_ext_summary): string
30623060
{
3063-
global $exts_skipped, $exts_tested, $n_total, $sum_results, $percent_results, $end_time, $start_time, $failed_test_summary, $PHP_FAILED_TESTS, $valgrind;
3061+
global $n_total, $sum_results, $percent_results, $end_time, $start_time, $failed_test_summary, $PHP_FAILED_TESTS, $valgrind;
30643062

30653063
$x_total = $n_total - $sum_results['SKIPPED'] - $sum_results['BORKED'];
30663064

@@ -3082,9 +3080,6 @@ function get_summary(bool $show_ext_summary): string
30823080
=====================================================================
30833081
TEST RESULT SUMMARY
30843082
---------------------------------------------------------------------
3085-
Exts skipped : ' . sprintf('%4d', count($exts_skipped)) . ' (' . implode(', ', $exts_skipped) . ')
3086-
Exts tested : ' . sprintf('%4d', count($exts_tested)) . '
3087-
---------------------------------------------------------------------
30883083
';
30893084
}
30903085

0 commit comments

Comments
 (0)