diff options
author | Bram <perl-rt@wizbit.be> | 2022-09-17 19:43:46 +0200 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2022-09-19 15:15:37 +1000 |
commit | 534b66374b96a50023b85157019b49970f0bd3e6 (patch) | |
tree | e9270ebf1d52b6bbae9b5766c5d6e1f2d17871df /.github | |
parent | 95aca9b049c0a768ab80bef52b8162b498735588 (diff) | |
download | perl-534b66374b96a50023b85157019b49970f0bd3e6.tar.gz |
Skip 'pending changes' test for automated testing
This code is called via t/porting/authors.t; it basically checks
if there are pending/uncommitted changes and if the author is a known
contributor.
That test doesn't really work too well in combination with Test::Smoke since
that does create some files in the build-directory and may patch some files
(for example patching 'patchlevel.h' to include the commit id).
The end result: on several smokers the t/porting/authors.t test was failing
[because they lack a git config for user+email or because the configured
name/email is not a known contributor].
Unfortunately Test::Smoke does not set the AUTOMATED_TESTING flag so
detect if Test::Smoke is running by checking for the 'mktest.out' file.
This commit also reverts the temporary work-around that was added in
commit 6c19d6c6d4db446fa9513b7d617134c938c89a4e. (That work-around
didn't cover all cases; there are smokers running with a different name/email
configured then the one in AUTHORS and for those the test still failed with
the temp work-around.)
Fixes #20141
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions