From: Dobrica Pavlinusic Date: Mon, 22 Sep 2008 15:09:50 +0000 (+0000) Subject: make KinoSearch optional X-Git-Url: http://git.rot13.org/?p=webpac2;a=commitdiff_plain;h=069c2a916556bacf5d3f35a0c8093eb3efbe651a make KinoSearch optional git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1115 07558da8-63fa-0310-ba24-9fe276d99e06 --- diff --git a/Makefile.PL b/Makefile.PL index bc55732..11d0acc 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -62,6 +62,10 @@ features( -default => 1, 'Spreadsheet::WriteExcel' => 2.14, ], + 'WebPAC::Output::KinoSearch' => [ + -default => 1, + 'KinoSearch::Simple', + ], 'Parallel execution (probably broken)' => [ -default => 0, 'Proc::Queue', diff --git a/t/0-load.t b/t/0-load.t index 2d1be56..fb70a3f 100755 --- a/t/0-load.t +++ b/t/0-load.t @@ -2,7 +2,7 @@ use strict; -use Test::More tests => 14; +use Test::More tests => 13; use blib; use lib 'lib'; @@ -20,8 +20,8 @@ use_ok( 'WebPAC::Output::Estraier' ); use_ok( 'WebPAC::Output::TT' ); use_ok( 'WebPAC::Output::MARC' ); use_ok( 'WebPAC::Output::JSON' ); -use_ok( 'WebPAC::Output::KinoSearch' ); -#use_ok( 'WebPAC::Output::Webpacus' ); # needs Jifty which is optional +#use_ok( 'WebPAC::Output::KinoSearch' ); # needs optional KinoSearch +#use_ok( 'WebPAC::Output::Webpacus' ); # needs Jifty which is optional } diag( "Testing WebPAC $WebPAC::VERSION, Perl 5.008007, /usr/bin/perl" );