From: Rafael Kitover Date: Thu, 11 Jun 2009 23:48:28 +0000 (+0000) Subject: add support for DBICTEST_MSSQL_PERL5LIB to 74mssql.t X-Git-Tag: v0.08107~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=46e3af47978fa1c4ca72de368879486e21ff44df;p=dbsrgits%2FDBIx-Class.git add support for DBICTEST_MSSQL_PERL5LIB to 74mssql.t --- diff --git a/t/74mssql.t b/t/74mssql.t index 49f7967..72e6552 100644 --- a/t/74mssql.t +++ b/t/74mssql.t @@ -1,6 +1,13 @@ use strict; use warnings; +# use this if you keep a copy of DBD::Sybase linked to FreeTDS somewhere else +BEGIN { + if (my $lib_dirs = $ENV{DBICTEST_MSSQL_PERL5LIB}) { + unshift @INC, $_ for split /:/, $lib_dirs; + } +} + use Test::More; use lib qw(t/lib); use DBICTest;