[gnumeric] Test: test dif importer.



commit 0b5cd4092e0be31895055963353703987c7d9c42
Author: Morten Welinder <terra gnome org>
Date:   Fri Dec 1 19:09:28 2017 -0500

    Test: test dif importer.
    
    It's not important, but we ought to exercise the code now and then.

 NEWS              |    1 +
 test/Makefile.am  |    1 +
 test/t5906-dif.pl |   12 ++++++++++++
 3 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 2545795..08f78cb 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ Gnumeric 1.12.38
 
 Morten:
        * Avoid large stack use here and there.
+       * Test suite improvements.
 
 --------------------------------------------------------------------------
 Gnumeric 1.12.37
diff --git a/test/Makefile.am b/test/Makefile.am
index 7ca0a21..52942ed 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -73,6 +73,7 @@ TESTS =       t1000-statfuns.pl                       \
        t5903-sylk.pl                           \
        t5904-mps.pl                            \
        t5905-guppi.pl                          \
+       t5906-dif.pl                            \
        t6000-statfuns.pl                       \
        t6001-mathfuns.pl                       \
        t6002-objs.pl                           \
diff --git a/test/t5906-dif.pl b/test/t5906-dif.pl
new file mode 100755
index 0000000..b5dbd9f
--- /dev/null
+++ b/test/t5906-dif.pl
@@ -0,0 +1,12 @@
+#!/usr/bin/perl -w
+# -----------------------------------------------------------------------------
+
+use strict;
+use lib ($0 =~ m|^(.*/)| ? $1 : ".");
+use GnumericTest;
+
+# See test_importer comments for mode definitions.
+my $mode = ((shift @ARGV) || "check");
+
+&message ("Check the dif importer.");
+&test_importer ("$samples/dif/sample.dif", "e961ef2b1bc75e9a3d6759b5926310f959d129e4", $mode);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]