diff options
author | Yves Orton <demerphq@gmail.com> | 2023-02-18 11:58:20 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-02-19 09:44:05 +0800 |
commit | 36052af0af0e8795eecbd9900189364233d49e02 (patch) | |
tree | 8c7397189857f58ee3c7b83ae72d5dcb565b116f /miniperlmain.c | |
parent | 148964c324b7c34af1364c126362aef077db50af (diff) | |
download | perl-36052af0af0e8795eecbd9900189364233d49e02.tar.gz |
t/porting/regen.t - no more "whack-a-mole" subtest execution
Prior to this patch t/porting/regen.t would stop after it found a
single case where the generated file was not up to date. If there
were many files this meant that you would fix, run the test again
find out about the next one, and repeat over and over... This
kind of test whack-a-mole is very frustrating. To make things worse
the old hint when there was a failure would tell you to run make regen,
which was only true for certain of the tests that might have failed.
This patch updates this logic so we test ALL the files in one go,
and then if there were any issues we die with a report detailing
*all* of the regen commands that need to be run.
It also includes some minor cleanup and tweaks so it runs properly
when executed from the root dir of the repo.
Diffstat (limited to 'miniperlmain.c')
0 files changed, 0 insertions, 0 deletions