[gnumeric] Tests: drop complains over new codepage attribute.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Tests: drop complains over new codepage attribute.
- Date: Wed, 19 Feb 2014 23:45:34 +0000 (UTC)
commit 0f7a91bf50298db2858ffc13ec7d318ac347c9c3
Author: Morten Welinder <terra gnome org>
Date: Wed Feb 19 18:45:15 2014 -0500
Tests: drop complains over new codepage attribute.
test/t6500-strings.pl | 8 ++++++--
test/t6501-numbers.pl | 8 ++++++--
test/t6502-styles.pl | 8 ++++++--
3 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/test/t6500-strings.pl b/test/t6500-strings.pl
index bbdeb32..f4cfc78 100755
--- a/test/t6500-strings.pl
+++ b/test/t6500-strings.pl
@@ -18,16 +18,20 @@ my $file = "$samples/string-tests.gnumeric";
'ext' => "ods",
'filter2' => "perl -p -e '\$_ = \"\" if m{<meta:generator>}'");
+my $xls_filter = "perl -p -e '\$_ = \"\" if m{<meta:user-defined meta:name=.msole:codepage.}'";
+
&message ("Check string xls/BIFF7 roundtrip.");
&test_roundtrip ($file,
'format' => 'Gnumeric_Excel:excel_biff7',
'ext' => "xls",
- 'resize' => '16384x256');
+ 'resize' => '16384x256',
+ 'filter2' => $xls_filter);
&message ("Check string xls/BIFF8 roundtrip.");
&test_roundtrip ($file,
'format' => 'Gnumeric_Excel:excel_biff8',
- 'ext' => "xls");
+ 'ext' => "xls",
+ 'filter2' => $xls_filter);
&message ("Check string xlsx roundtrip.");
&test_roundtrip ($file,
diff --git a/test/t6501-numbers.pl b/test/t6501-numbers.pl
index 44e303f..b21c855 100755
--- a/test/t6501-numbers.pl
+++ b/test/t6501-numbers.pl
@@ -21,16 +21,20 @@ my $file = "$samples/number-tests.gnumeric";
'ext' => "ods",
'filter2' => "perl -p -e '\$_ = \"\" if m{<meta:generator>}'");
+my $xls_filter = "perl -p -e '\$_ = \"\" if m{<meta:user-defined meta:name=.msole:codepage.}'";
+
&message ("Check number xls/BIFF7 roundtrip.");
&test_roundtrip ($file,
'format' => 'Gnumeric_Excel:excel_biff7',
'ext' => "xls",
- 'resize' => '16384x256');
+ 'resize' => '16384x256',
+ 'filter2' => $xls_filter);
&message ("Check number xls/BIFF8 roundtrip.");
&test_roundtrip ($file,
'format' => 'Gnumeric_Excel:excel_biff8',
- 'ext' => "xls");
+ 'ext' => "xls",
+ 'filter2' => $xls_filter);
&message ("Check number xlsx roundtrip.");
&test_roundtrip ($file,
diff --git a/test/t6502-styles.pl b/test/t6502-styles.pl
index f853479..bef6b2d 100755
--- a/test/t6502-styles.pl
+++ b/test/t6502-styles.pl
@@ -18,16 +18,20 @@ my $file = "$samples/style-tests.gnumeric";
'ext' => "ods",
'filter2' => "perl -p -e '\$_ = \"\" if m{<meta:generator>}'");
+my $xls_filter = "perl -p -e '\$_ = \"\" if m{<meta:user-defined meta:name=.msole:codepage.}'";
+
&message ("Check style xls/BIFF7 roundtrip.");
&test_roundtrip ($file,
'format' => 'Gnumeric_Excel:excel_biff7',
'ext' => "xls",
- 'resize' => '16384x256');
+ 'resize' => '16384x256',
+ 'filter2' => $xls_filter);
&message ("Check style xls/BIFF8 roundtrip.");
&test_roundtrip ($file,
'format' => 'Gnumeric_Excel:excel_biff8',
- 'ext' => "xls");
+ 'ext' => "xls",
+ 'filter2' => $xls_filter);
&message ("Check style xlsx roundtrip.");
&test_roundtrip ($file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]