From 658a718f1979d296bdc887eaf7aa2a6b62ae0661 Mon Sep 17 00:00:00 2001 From: imacat Date: Wed, 10 Feb 2021 22:53:26 +0800 Subject: [PATCH] Added to prevent automated testing in Build.PL and Makefile.PL. --- Build.PL | 2 ++ Makefile.PL | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Build.PL b/Build.PL index cabbfee..c730d8d 100755 --- a/Build.PL +++ b/Build.PL @@ -5,6 +5,8 @@ use lib qw(lib); use DbFramework::Util; require './t/util.pl'; +exit 0 if $ENV{AUTOMATED_TESTING}; + my $catalog_db = 'dbframework_catalog'; my %keytypes = (primary => 0, foreign => 1, index => 2); diff --git a/Makefile.PL b/Makefile.PL index daa266e..07a0c1a 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,6 +7,8 @@ use lib qw(lib); use DbFramework::Util; require './t/util.pl'; +exit 0 if $ENV{AUTOMATED_TESTING}; + my $catalog_db = 'dbframework_catalog'; my %keytypes = (primary => 0, foreign => 1, index => 2);