diff --git a/run-tests.php b/run-tests.php index 036162725673..6c31c1d0187d 100755 --- a/run-tests.php +++ b/run-tests.php @@ -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);