X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fzzzzzzz_perl_perf_bug.t;h=c0a96d8d274d90d67f2b9e220f8f781d9fa69f6f;hb=5007739d062d2ebfa562472588dcb0c28543dd6d;hp=fd86646a433f1810dfe79438cd4b0c364e45a05b;hpb=b6883aee2545ab07808ac04bc8409fc163b62a5c;p=dbsrgits%2FDBIx-Class.git diff --git a/t/zzzzzzz_perl_perf_bug.t b/t/zzzzzzz_perl_perf_bug.t index fd86646..c0a96d8 100644 --- a/t/zzzzzzz_perl_perf_bug.t +++ b/t/zzzzzzz_perl_perf_bug.t @@ -1,8 +1,9 @@ use strict; use warnings; use Test::More; +use Benchmark; use lib qw(t/lib); -use DBICTest; # do not remove even though it is not used +use DBICTest ':GlobalLock'; # This is a rather unusual test. # It does not test any aspect of DBIx::Class, but instead tests the @@ -22,11 +23,8 @@ plan skip_all => 'Skipping RH perl performance bug tests as DBIC_NO_WARN_BAD_PERL set' if ( $ENV{DBIC_NO_WARN_BAD_PERL} ); -plan skip_all => 'Skipping as AUTOMATED_TESTING is set' - if ( $ENV{AUTOMATED_TESTING} ); - -eval "use Benchmark ':all'"; -plan skip_all => 'needs Benchmark for testing' if $@; +plan skip_all => 'Skipping as system appears to be a smoker' + if DBICTest::RunMode->is_smoker; plan tests => 3;