blob: a532bcfae35491ecdf1d0fcfcad9cbe6cceeef84 [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 Diewald37e5b572013-11-20 20:26:03 +000019 my $call = 'perl ' . $dir . '/prepare_index.pl -i ' . $dir . '/../examples/WPD/AAA/' . $file . ' -o ' . $dir . '/../' . $file . '.json';
20 print 'Create ' . $file . ".json\n";
21 system($call);
22
23 print 'Create ' . $file . ".json.gz\n";
24 $call .= '.gz -z';
25 system($call);
26};