diff options
author | Dominic Hargreaves <dom@earth.li> | 2017-10-14 16:27:53 +0200 |
---|---|---|
committer | Dominic Hargreaves <dom@earth.li> | 2017-10-24 12:28:28 +0100 |
commit | ba6733216202523a95b0b7ee2e534b8e30b6d7df (patch) | |
tree | c1f166ed3c8b63e167b8c1ce75171c6ac502e66d /regen/lib_cleanup.pl | |
parent | a17768d7c7b82c136fbeacd85db3451973a8007a (diff) | |
download | perl-ba6733216202523a95b0b7ee2e534b8e30b6d7df.tar.gz |
Skip various tests if PERL_BUILD_PACKAGING is set
These are tests which tend not to be useful for downstream packagers
t/porting/customized.t change originally from Todd Rinaldo
Diffstat (limited to 'regen/lib_cleanup.pl')
-rw-r--r-- | regen/lib_cleanup.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/regen/lib_cleanup.pl b/regen/lib_cleanup.pl index 5e40b405a4..6caf74a563 100644 --- a/regen/lib_cleanup.pl +++ b/regen/lib_cleanup.pl @@ -164,6 +164,11 @@ if ($TAP && !-d '.git' && !-f 'lib/.gitignore') { exit 0; } +if ($ENV{'PERL_BUILD_PACKAGING'}) { + print "ok # skip explicitly disabled git tests by PERL_BUILD_PACKAGING\n"; + exit 0; +} + $fh = open_new('lib/.gitignore', '>', { by => $0, from => 'MANIFEST and parsing files in cpan/ dist/ and ext/'}); |