Conditionalize top 5 slowest test files, saving 25%/5m * 15 configs = 1hr.

This commit is contained in:
Daniel Nichter
2012-08-12 10:16:52 -06:00
parent a9eabffab9
commit 217a45df6f
5 changed files with 21 additions and 0 deletions

View File

@@ -11,6 +11,10 @@ use warnings FATAL => 'all';
use English qw(-no_match_vars);
use Test::More;
if ( !$ENV{SLOW_TESTS} ) {
plan skip_all => "lib/MasterSlave.t is a top 5 slowest file; set SLOW_TESTS=1 to enable it.";
}
use MasterSlave;
use DSNParser;
use VersionParser;