blob: 2b69a4f10ade3ad7e656308d4136700a2c902747 [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 Diewaldaba47102013-11-27 15:02:47 +00009foreach my $file (qw/00001 00002 00003 00004 00005 00006 02035-substring 02439 05663-unbalanced 07452-deep/) {
Nils Diewald37e5b572013-11-20 20:26:03 +000010 my $call = 'perl ' . $dir . '/prepare_index.pl -i ' . $dir . '/../examples/WPD/AAA/' . $file . ' -o ' . $dir . '/../' . $file . '.json';
11 print 'Create ' . $file . ".json\n";
12 system($call);
13
14 print 'Create ' . $file . ".json.gz\n";
15 $call .= '.gz -z';
16 system($call);
17};