summaryrefslogtreecommitdiff
path: root/regen/lib_cleanup.pl
diff options
context:
space:
mode:
authorDominic Hargreaves <dom@earth.li>2017-10-14 16:27:53 +0200
committerDominic Hargreaves <dom@earth.li>2017-10-24 12:28:28 +0100
commitba6733216202523a95b0b7ee2e534b8e30b6d7df (patch)
treec1f166ed3c8b63e167b8c1ce75171c6ac502e66d /regen/lib_cleanup.pl
parenta17768d7c7b82c136fbeacd85db3451973a8007a (diff)
downloadperl-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.pl5
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/'});