From: Christoph M. Becker Date: Sun, 5 Jan 2020 16:14:17 +0000 (+0100) Subject: Rename run-test.php to run-tests.php in the test packs X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6fbe13717c817cd9b4761bfad9f62fd8d3fa6b4;p=php Rename run-test.php to run-tests.php in the test packs In the php-src repository, the test runner is named run-tests.php, but when it is copied to the tests packs, it is renamed to run-test.php. This renaming does not make sense, and is actually somewhat confusing. Although changing the name back to run-tests.php constitutes a BC break, we think the benefit of having a single name outweights the disadvantages in the long run. --- diff --git a/UPGRADING b/UPGRADING index 8ffbbbb5a7..b67ae6d61c 100644 --- a/UPGRADING +++ b/UPGRADING @@ -413,6 +413,10 @@ PHP 8.0 UPGRADE NOTES 12. Windows Support ======================================== +- php-test-pack: + . The test runner has been renamed from run-test.php to run-tests.php, to + match its name in php-src. + ======================================== 13. Other Changes ======================================== diff --git a/win32/build/mkdist.php b/win32/build/mkdist.php index f4155308af..6f1f071148 100644 --- a/win32/build/mkdist.php +++ b/win32/build/mkdist.php @@ -496,7 +496,7 @@ $dirs = array( foreach ($dirs as $dir) { copy_test_dir($dir, $test_dir); } -copy('run-tests.php', $test_dir . '/run-test.php'); +copy('run-tests.php', $test_dir . '/run-tests.php'); /* change this next line to true to use good-old * hand-assembled go-pear-bundle from the snapshot template */