]> granicus.if.org Git - php/commitdiff
Rename run-test.php to run-tests.php in the test packs
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 5 Jan 2020 16:14:17 +0000 (17:14 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 14 Jan 2020 17:31:25 +0000 (18:31 +0100)
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.

UPGRADING
win32/build/mkdist.php

index 8ffbbbb5a734f40c151a198eeeb626cb5151d0d1..b67ae6d61c621335c6627e55a5aeaed89b95cb5f 100644 (file)
--- 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
 ========================================
index f4155308af93dc1bcfe154e9664baf3092697d03..6f1f071148f645dba2559f6abe5b3faa5ba08148 100644 (file)
@@ -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 */