From: Peter Rabbitson <ribasushi@cpan.org>
Date: Thu, 17 Jul 2014 12:37:12 +0000 (+0200)
Subject: Skip the namespace tests on plain install
X-Git-Tag: v0.082800~137
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=70cf159f21f6f521b6e896b953dfdc425a3d3ce4;p=dbsrgits%2FDBIx-Class.git

Skip the namespace tests on plain install

Protect users from future spurious changes in uncleaned imports
---

diff --git a/t/55namespaces_cleaned.t b/t/55namespaces_cleaned.t
index 176de5e..875a77d 100644
--- a/t/55namespaces_cleaned.t
+++ b/t/55namespaces_cleaned.t
@@ -36,8 +36,14 @@ use warnings;
 use Test::More;
 
 use lib 't/lib';
-use DBICTest;
 
+BEGIN {
+  require DBICTest::RunMode;
+  plan( skip_all => "Skipping test on plain module install" )
+    if DBICTest::RunMode->is_plain;
+}
+
+use DBICTest;
 use File::Find;
 use File::Spec;
 use B qw/svref_2object/;