1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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.
This commit is contained in:
Christoph M. Becker
2020-01-05 17:14:17 +01:00
parent 03bd4333f6
commit f6fbe13717
2 changed files with 5 additions and 1 deletions

View File

@@ -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
========================================

View 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 */