blob: 289b9462db97c403a86076c4dcdadd28896e7a92 [file] [log] [blame]
Nils Diewald37e5b572013-11-20 20:26:03 +00001#!/usr/bin/env perl
2use strict;
3use warnings;
4use FindBin;
5use v5.16;
6
7my $dir = $FindBin::Bin;
8
Nils Diewald7ed12c82014-10-31 17:51:19 +00009foreach my $file (qw/00001
10 00002
11 00003
12 00004
13 00005
14 00006
15 02035-substring
16 02439
17 05663-unbalanced
18 07452-deep/) {
Nils Diewald0d767342015-06-17 20:34:24 +000019 my $out = $dir . '/../' . $file . '.json';
Nils Diewald37e5b572013-11-20 20:26:03 +000020
Nils Diewald0d767342015-06-17 20:34:24 +000021 my $call = 'perl ' . $dir . '/prepare_index.pl -i ' . $dir . '/../examples/WPD/AAA/' . $file . ' -o ' . $out;
22 print 'Create ' . $out . "\n";
23 system($call);
24
25 print 'Create ' . $out . ".gz\n";
26 $call .= '.gz -z';
27 system($call);
Nils Diewald37e5b572013-11-20 20:26:03 +000028};