diff --git a/run-tests.php b/run-tests.php index 49da8c95bca..b9e14f373c9 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2262,7 +2262,7 @@ TEST $file $args = isset($section_text['ARGS']) ? ' -- ' . $section_text['ARGS'] : ''; - if ($preload) { + if ($preload && !empty($test_file)) { save_text($preload_filename, "