php / php/php-src

`run-tests.php` should be split up

Open
#22,961 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Status: Needs Triage
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

run-tests.php is so big that it is really hard to navigate, IDE is lagging, and GitHub does not show diffs for it by default. Would we be keen to split it up into multiple sources and generate them back into a single executable at its existing location on make? If so, I would take a stab at it after the #22917-related work is done.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading run-tests.php and the repository's make flow, then review the #22917-related work mentioned in the issue. Determine how the test runner can be separated into multiple sources while preserving its existing executable location. Done means the sources are split and make generates the same single executable at run-tests.php.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system, testing-qa
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.