From 555fb294ec4c1948b357ee43b6ca3c81873ddf26 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 20 Feb 2019 00:06:57 +0300 Subject: [PATCH] Don't preload tests without --FILE-- section --- run-tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, "