Exit: non-zero return code if we fail to load a file from command line
[gnumeric.git] / test / t5903-sylk.pl
blobfe20115b85e83d3c7c990bb9f8a82427266cdbc8
1 #!/usr/bin/perl -w
2 # -----------------------------------------------------------------------------
4 use strict;
5 use lib ($0 =~ m|^(.*/)| ? $1 : ".");
6 use GnumericTest;
8 # See test_importer comments for mode definitions.
9 my $mode = ((shift @ARGV) || "check");
11 &message ("Check the sylk importer.");
12 &test_importer ("$samples/sylk/test.sylk", "36e2327a283f6a4783b05187c71380a76148c2a8", $mode);
13 &test_importer ("$samples/sylk/encoding.sylk", "ad0660a265fedbe51c4fb66609aa06c4215a5611", $mode);
14 &test_importer ("$samples/sylk/app_b2.sylk", "11203a7d416024cfaa84cb67fab51223ff59b2b5", $mode);