Skip to content

Support more runnable kinds in project JSON#21424

Merged
ChayimFriedman2 merged 4 commits intorust-lang:masterfrom
cormacrelf:support-more-runnable-kinds
Mar 22, 2026
Merged

Support more runnable kinds in project JSON#21424
ChayimFriedman2 merged 4 commits intorust-lang:masterfrom
cormacrelf:support-more-runnable-kinds

Conversation

@cormacrelf
Copy link
Contributor

@cormacrelf cormacrelf commented Jan 9, 2026

Adds support for benchmarks, whole modules of tests, doctests.

Fixes #20359 but you will have to update your tooling that generates the JSON to include such runnables, e.g. testMod, doctestOne, benchOne.

TODO

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 9, 2026
I'm about to complete the match statement here with more of the same.
Once you write the exact same code 5 times, it's time for a helper function.
Allows project JSON users  to run a whole module of tests, benchmarks, doctests.
@cormacrelf cormacrelf force-pushed the support-more-runnable-kinds branch from e77a267 to 7657739 Compare January 9, 2026 03:19
Copy link
Contributor

@ChayimFriedman2 ChayimFriedman2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue Mar 22, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to invalid changes in the merge commit Mar 22, 2026
@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue Mar 22, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to invalid changes in the merge commit Mar 22, 2026
@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue Mar 22, 2026
Merged via the queue into rust-lang:master with commit 9aa5e45 Mar 22, 2026
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 22, 2026
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.

better testing support for rust-project.json

3 participants