make KinoSearch optional
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 22 Sep 2008 15:09:50 +0000 (15:09 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 22 Sep 2008 15:09:50 +0000 (15:09 +0000)
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1115 07558da8-63fa-0310-ba24-9fe276d99e06

Makefile.PL
t/0-load.t

index bc55732..11d0acc 100644 (file)
@@ -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',
index 2d1be56..fb70a3f 100755 (executable)
@@ -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" );