[gnumeric] t6511: don' test xls and xlsx
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] t6511: don' test xls and xlsx
- Date: Mon, 10 Mar 2014 01:06:23 +0000 (UTC)
commit 8e0137be2f7b265f80a7c73ec3f7d83cc66a1a8f
Author: Morten Welinder <terra gnome org>
Date: Sun Mar 9 21:05:53 2014 -0400
t6511: don' test xls and xlsx
The format cannot store solver parameters.
test/t6511-solver.pl | 54 ++++++++++++++++++++++++++++++-------------------
1 files changed, 33 insertions(+), 21 deletions(-)
---
diff --git a/test/t6511-solver.pl b/test/t6511-solver.pl
index 39b504c..f546241 100755
--- a/test/t6511-solver.pl
+++ b/test/t6511-solver.pl
@@ -21,24 +21,36 @@ my $file = "$samples/solver-tests.gnumeric";
my $xls_codepage_filter = "$PERL -p -e '\$_ = \"\" if m{<meta:user-defined meta:name=.msole:codepage.}'";
-&message ("Check solver xls/BIFF7 roundtrip.");
-&test_roundtrip ($file,
- 'format' => 'Gnumeric_Excel:excel_biff7',
- 'ext' => "xls",
- 'resize' => '16384x256',
- 'filter2' => $xls_codepage_filter,
- 'ignore_failure' => 1);
-
-&message ("Check solver xls/BIFF8 roundtrip.");
-&test_roundtrip ($file,
- 'format' => 'Gnumeric_Excel:excel_biff8',
- 'ext' => "xls",
- 'filter2' => $xls_codepage_filter,
- 'ignore_failure' => 1);
-
-&message ("Check solver xlsx roundtrip.");
-&test_roundtrip ($file,
- 'format' => 'Gnumeric_Excel:xlsx',
- 'ext' => "xlsx",
- 'resize' => '1048576x16384',
- 'ignore_failure' => 1);
+if (1) {
+ &message ("Not checking solver xls/BIFF7 roundtrip -- format is deficient");
+} else {
+ &message ("Check solver xls/BIFF7 roundtrip.");
+ &test_roundtrip ($file,
+ 'format' => 'Gnumeric_Excel:excel_biff7',
+ 'ext' => "xls",
+ 'resize' => '16384x256',
+ 'filter2' => $xls_codepage_filter,
+ 'ignore_failure' => 1);
+}
+
+if (1) {
+ &message ("Not checking solver xls/BIFF8 roundtrip -- format is deficient");
+} else {
+ &message ("Check solver xls/BIFF8 roundtrip.");
+ &test_roundtrip ($file,
+ 'format' => 'Gnumeric_Excel:excel_biff8',
+ 'ext' => "xls",
+ 'filter2' => $xls_codepage_filter,
+ 'ignore_failure' => 1);
+}
+
+if (1) {
+ &message ("Not checking solver xlsx roundtrip -- format is deficient");
+} else {
+ &message ("Check solver xlsx roundtrip.");
+ &test_roundtrip ($file,
+ 'format' => 'Gnumeric_Excel:xlsx',
+ 'ext' => "xlsx",
+ 'resize' => '1048576x16384',
+ 'ignore_failure' => 1);
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]