From: Peter Rabbitson Date: Sun, 5 Oct 2014 21:03:53 +0000 (+0200) Subject: Skip tests on smokers with a broken DBIC trial X-Git-Tag: v1.80~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=13da332c1b3c4d797d602a502f9c2a75fd560794;p=dbsrgits%2FSQL-Abstract.git Skip tests on smokers with a broken DBIC trial --- diff --git a/t/dbic/bulk-insert.t b/t/dbic/bulk-insert.t index 8f49883..488fde6 100644 --- a/t/dbic/bulk-insert.t +++ b/t/dbic/bulk-insert.t @@ -4,9 +4,12 @@ use warnings; use Test::More; BEGIN { - # ask for a recent DBIC version to skip the 5.6.2 tests as well + # ask for a recent DBIC version to skip the 5.6 testing as well plan skip_all => 'Test temporarily requires DBIx::Class' unless eval { require DBIx::Class::Storage::Statistics; DBIx::Class->VERSION('0.08124') }; + + plan skip_all => 'Test does not properly work with the pre-0.082800 DBIC trials' + if DBIx::Class->VERSION =~ /^0.082700\d\d/; } use DBIx::Class::Storage::Debug::PrettyPrint; diff --git a/t/dbic/no-repeats.t b/t/dbic/no-repeats.t index 71273f9..cc88488 100644 --- a/t/dbic/no-repeats.t +++ b/t/dbic/no-repeats.t @@ -4,9 +4,12 @@ use warnings; use Test::More; BEGIN { - # ask for a recent DBIC version to skip the 5.6.2 tests as well + # ask for a recent DBIC version to skip the 5.6 tests as well plan skip_all => 'Test temporarily requires DBIx::Class' unless eval { require DBIx::Class::Storage::Statistics; DBIx::Class->VERSION('0.08124') }; + + plan skip_all => 'Test does not properly work with the pre-0.082800 DBIC trials' + if DBIx::Class->VERSION =~ /^0.082700\d\d/; } use DBIx::Class::Storage::Debug::PrettyPrint; diff --git a/t/dbic/show-progress.t b/t/dbic/show-progress.t index 9afc3b2..c541ad9 100644 --- a/t/dbic/show-progress.t +++ b/t/dbic/show-progress.t @@ -4,9 +4,12 @@ use warnings; use Test::More; BEGIN { - # ask for a recent DBIC version to skip the 5.6.2 tests as well + # ask for a recent DBIC version to skip the 5.6 tests as well plan skip_all => 'Test temporarily requires DBIx::Class' unless eval { require DBIx::Class::Storage::Statistics; DBIx::Class->VERSION('0.08124') }; + + plan skip_all => 'Test does not properly work with the pre-0.082800 DBIC trials' + if DBIx::Class->VERSION =~ /^0.082700\d\d/; } use DBIx::Class::Storage::Debug::PrettyPrint;