Skip to content

Zend/tests: organize some tests with sub directories (10) #17920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

DanielEScherzer
Copy link
Member

Add directories for tests relating to

  • halting the compiler
  • declare() usage
  • exception handlers
  • get_class_methods()
  • get_class_vars()
  • isset()
  • name collisions

As well as organizing a couple of tests into existing sub directories along the way

Work towards GH-15631

Add directories for tests relating to
- halting the compiler
- `declare()` usage
- exception handlers
- `get_class_methods()`
- `get_class_vars()`
- `isset()`
- name collisions

As well as organizing a couple of tests into existing sub directories along the
way

Work towards phpGH-15631
@iluuu1994 iluuu1994 requested a review from Girgias February 24, 2025 21:04
@Girgias Girgias merged commit babf7a3 into php:master Feb 25, 2025
9 checks passed
@DanielEScherzer DanielEScherzer deleted the test-org-10 branch February 25, 2025 17:27
DanielEScherzer added a commit to DanielEScherzer/php-src that referenced this pull request Feb 25, 2025
After discovering in August that Zend/tests had over 2500 entries, and that
GitHub limits the display to only the first 1000 entries, I filed phpGH-15631 and
sent a whole slew of patches to split up that directory and organize the tests
a bit better. After the most recent patch, phpGH-17920, there are now once again
fewer than 1,000 entries in that directory (for what seems to be the first time
since the PHP 5.3 development cycle).

Add a new GitHub action to the test suite that will ensure that no directory
gets above 1,000 items - while the Zend/tests directory was the only one that
had already hit that limit, there isn't much harm in checking all of the
directories, and some of the extensions have hundreds of tests already and
could conceivably hit the limit at some point.

Closes phpGH-15631
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants