mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Fix GH-18404: Display diff when a single test is run (GH-19400)
This commit is contained in:
parent
e4078a6a70
commit
9673079903
1 changed files with 4 additions and 0 deletions
|
@ -688,6 +688,10 @@ function main(): void
|
||||||
// Run selected tests.
|
// Run selected tests.
|
||||||
$test_cnt = count($test_files);
|
$test_cnt = count($test_files);
|
||||||
|
|
||||||
|
if ($test_cnt === 1) {
|
||||||
|
$cfg['show']['diff'] = true;
|
||||||
|
}
|
||||||
|
|
||||||
verify_config($php);
|
verify_config($php);
|
||||||
write_information($user_tests, $phpdbg);
|
write_information($user_tests, $phpdbg);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue