1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Fix GH-18404: Display diff when a single test is run (GH-19400)

This commit is contained in:
Alexandre Daubois
2025-08-08 19:16:32 +02:00
committed by GitHub
parent e4078a6a70
commit 9673079903

View File

@@ -688,6 +688,10 @@ function main(): void
// Run selected tests.
$test_cnt = count($test_files);
if ($test_cnt === 1) {
$cfg['show']['diff'] = true;
}
verify_config($php);
write_information($user_tests, $phpdbg);