t/TEST: run tests generated during build #24918
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 271 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.335
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #24918"
general
weight: 0.35
bulk88
In https://github.com/Perl/perl5/issues/24855, @tonycoz noted that
make testcurrently runs no tests fordist/Devel-PPPort/. Subsequently we determined that these tests ceased being run several years ago when that library's tests were re-written so as to be generated from components supplied by that library rather than fromt/.tfiles listed inMANIFEST.This patch (in 3 commits) modifies
t/TESTso as to run 'generated' tests after tests listed inMANIFESThave completed.To make the distinction between what I am calling manifested_tests and generated_tests clear, certain variables in
t/TESTwere renamed -- and for consistency, the corresponding variables int/harnessandt/porting/test_testlist.twere also renamed. For example, what heretofore we called@testshas been renamed to@manifested_tests.Certain other changes were made in
t/TESTto bring that program up-to-date with what have been considered as Perl best practices since at least 2005.Each of these commits was evaluated using several different ways of invoking tests, selected from these variants:
I would anticipate making similar changes in
t/harnessso as to be able to run generated tests as part ofmake test_harness-- but let's leave that for a later pull request.Thank you very much.
-------------------------------------------------------------------------------
This set of changes requires a perldelta entry, which I'll supply after code review.