Author: bob Date: 2012-04-27 17:30:27 +0100 (Fri, 27 Apr 2012) New Revision: 1369
Modified: trunk/Build.PL Log: Skip configuration question is AUTOMATED_TESTING=1. closes #291
Modified: trunk/Build.PL =================================================================== --- trunk/Build.PL 2012-04-27 15:11:11 UTC (rev 1368) +++ trunk/Build.PL 2012-04-27 16:30:27 UTC (rev 1369) @@ -15,7 +15,8 @@
GetOptions('force' => $force);
-unless ($force) { + +unless ($force || $ENV{'AUTOMATED_TESTING'}) { print <<EOF;
Beginning install process... if you already have an OpenGuides @@ -51,7 +52,7 @@ content_above_navbar_in_html show_gmap_in_node_display force_wgs84 send_moderation_notifications read_only);
-my $skip_config = $force ? 'y' : Module::Build->y_n("Skip OpenGuides configuration?", "n"); +my $skip_config = $force || $ENV{AUTOMATED_TESTING} ? 'y' : Module::Build->y_n("Skip OpenGuides configuration?", "n"); if ( $skip_config ) { print <<EOF; ===========================================================================
openguides-commits@lists.openguides.org