From: Jess Robinson Date: Wed, 26 Sep 2007 12:36:39 +0000 (+0000) Subject: Fix to not test while TT is broken X-Git-Tag: v0.11008~359 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=08918cf742a9a3f8c89eb2e708f7939220b7284f;p=dbsrgits%2FSQL-Translator.git Fix to not test while TT is broken --- diff --git a/t/18ttschema-producer.t b/t/18ttschema-producer.t index a9b6510..d4c1e93 100644 --- a/t/18ttschema-producer.t +++ b/t/18ttschema-producer.t @@ -16,12 +16,16 @@ use FindBin qw/$Bin/; #============================================================================= BEGIN { + eval {require Template;}; + plan skip_all => "Template v2.15 is is incompatible with SQL::Translator 0.08+" + if !$@ && Template->VERSION >= 2.15; + maybe_plan(6, 'XML::XPath', 'SQL::Translator::Parser::XML::SQLFairy', 'Template', 'Test::Differences' - ) + ); } use Test::Differences;