Changeset 2039 for Swishetest/trunk/BuildIndex.pm
- Timestamp:
- 02/29/08 12:11:46 (10 months ago)
- Files:
-
- Swishetest/trunk/BuildIndex.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Swishetest/trunk/BuildIndex.pm
r2004 r2039 10 10 $config = "conf/basic-libxml2.conf" unless $config; 11 11 $extra_options = "" unless $extra_options; 12 my $cmd = "/usr/local/bin/swish-e -c $config -i '$input' -f '$index' -v 1 $extra_options"; 12 13 # we assume swish-e is in the PATH! 14 my $cmd = "swish-e -c $config -i '$input' -f '$index' -v 1 $extra_options"; 13 15 my $output = `$cmd`; 14 16 print STDERR "$0: Running '$output'\n" if $ENV{TEST_VERBOSE}; … … 24 26 $config = "conf/basic-libxml2.conf" unless $config; 25 27 $extra_options = "" unless $extra_options; 26 my $cmd = "$external_program | /usr/local/bin/swish-e -c $config -i stdin -f '$index' -v 1 -S prog $extra_options"; 28 # WE ASSUME SWISH-E is in the PATH 29 my $cmd = "$external_program | swish-e -c $config -i stdin -f '$index' -v 1 -S prog $extra_options"; 27 30 # -v 1 is important, we use it to test the indexer 28 31 print STDERR "$0: Running '$cmd'\n" if $ENV{TEST_VERBOSE};
