[gnumeric] Tests: new test for ods without styles.xml
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Tests: new test for ods without styles.xml
- Date: Sun, 17 Mar 2019 18:10:41 +0000 (UTC)
commit 0d9e9d41364bdebfe6bb8bfc9f3640c7b845d94f
Author: Morten Welinder <terra gnome org>
Date: Sun Mar 17 14:10:00 2019 -0400
Tests: new test for ods without styles.xml
samples/ods-with-no-styles.ods | Bin 0 -> 1412 bytes
test/Makefile.am | 1 +
test/t8006-valgrind-ods-no-styles.pl | 16 ++++++++++++++++
3 files changed, 17 insertions(+)
---
diff --git a/samples/ods-with-no-styles.ods b/samples/ods-with-no-styles.ods
new file mode 100644
index 000000000..3dc3ae037
Binary files /dev/null and b/samples/ods-with-no-styles.ods differ
diff --git a/test/Makefile.am b/test/Makefile.am
index 1d7e5d602..8adbfbca1 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -157,6 +157,7 @@ TESTS = t1000-statfuns.pl \
t8003-valgrind-pdf.pl \
t8004-valgrind-xls-macro.pl \
t8005-valgrind-chart-fit.pl \
+ t8006-valgrind-ods-no-styles.pl \
t8010-valgrind-ods.pl \
t8011-valgrind-xlsx.pl \
t8050-valgrind-sstest.pl \
diff --git a/test/t8006-valgrind-ods-no-styles.pl b/test/t8006-valgrind-ods-no-styles.pl
new file mode 100755
index 000000000..7457d140e
--- /dev/null
+++ b/test/t8006-valgrind-ods-no-styles.pl
@@ -0,0 +1,16 @@
+#!/usr/bin/perl -w
+# -----------------------------------------------------------------------------
+
+use strict;
+use lib ($0 =~ m|^(.*/)| ? $1 : ".");
+use GnumericTest;
+
+&message ("Check the xls importer and exporter with valgrind.");
+
+my $src = "$samples/ods-with-no-styles.ods";
+&GnumericTest::report_skip ("file $src does not exist") unless -r $src;
+
+my $tmp = "ods-with-no-styles.txt";
+&GnumericTest::junkfile ($tmp);
+
+&test_valgrind ("$ssconvert $src $tmp", 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]