[gnumeric] tests: block out odf version.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] tests: block out odf version.
- Date: Sat, 10 Mar 2012 21:11:30 +0000 (UTC)
commit ce054f031cfda96b13a238e726f5f2599afb993d
Author: Morten Welinder <terra gnome org>
Date: Sat Mar 10 16:03:57 2012 -0500
tests: block out odf version.
test/ChangeLog | 4 ++++
test/normalize-gnumeric | 3 +++
test/t5900-sc.pl | 4 ++--
test/t5901-qpro.pl | 2 +-
test/t5902-applix.pl | 2 +-
test/t5903-sylk.pl | 6 +++---
test/t5904-mps.pl | 4 ++--
7 files changed, 16 insertions(+), 9 deletions(-)
---
diff --git a/test/ChangeLog b/test/ChangeLog
index b512cb0..2d8eba8 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-10 Morten Welinder <terra gnome org>
+
+ * normalize-gnumeric: Block out odf version.
+
2012-03-02 Morten Welinder <terra gnome org>
* Release 1.11.2
diff --git a/test/normalize-gnumeric b/test/normalize-gnumeric
index 8609567..109ae5e 100755
--- a/test/normalize-gnumeric
+++ b/test/normalize-gnumeric
@@ -15,6 +15,9 @@ while (<STDIN>) {
if (m|^\s*<gnm:Version\s+Epoch="\d+"\s+Major="\d+"\s+Minor="\d+"\s+Full="[.0-9]+"/>\s*$|) {
s/="[.0-9]+"/="x"/g;
}
+ if (m|^\s*<office:document-meta |) {
+ s/( office:version=")[.0-9]+(")/$1XXX$2/;
+ }
if (m|^\s*<gnm:PrintInformation>\s*$| .. m|^\s*</gnm:PrintInformation>\s*$|) {
# "x" out margins.
diff --git a/test/t5900-sc.pl b/test/t5900-sc.pl
index e95ec3d..2ccedd2 100755
--- a/test/t5900-sc.pl
+++ b/test/t5900-sc.pl
@@ -9,5 +9,5 @@ use GnumericTest;
my $mode = ((shift @ARGV) || "check");
&message ("Check the sc importer.");
-&test_importer ("$samples/sc/demo_func", "425e578f78ddc3a1394779d8a6aeddef659c1ba3", $mode);
-&test_importer ("$samples/sc/demo_math", "252684151782961e19a006391a80792d6de86481", $mode);
+&test_importer ("$samples/sc/demo_func", "a08063fecf9d6c3cd0bb31dbf3056631f4deb295", $mode);
+&test_importer ("$samples/sc/demo_math", "fd05f09413af4be8a1bc01462bd0ad9f963abef8", $mode);
diff --git a/test/t5901-qpro.pl b/test/t5901-qpro.pl
index f80a9cc..df9a31b 100755
--- a/test/t5901-qpro.pl
+++ b/test/t5901-qpro.pl
@@ -9,4 +9,4 @@ use GnumericTest;
my $mode = ((shift @ARGV) || "check");
&message ("Check the Quattro Pro importer.");
-&test_importer ("$samples/qpro/gantt.wb3", "3da09f0767b9b10c061e4500b309aff27e98f551", $mode);
+&test_importer ("$samples/qpro/gantt.wb3", "1bdf7818cb57540b3e879b451f8249320b5fccef", $mode);
diff --git a/test/t5902-applix.pl b/test/t5902-applix.pl
index b41ab25..1780312 100755
--- a/test/t5902-applix.pl
+++ b/test/t5902-applix.pl
@@ -9,4 +9,4 @@ use GnumericTest;
my $mode = ((shift @ARGV) || "check");
&message ("Check the applix importer.");
-&test_importer ("$samples/applix/sample.as", "43497bc5daaf91ad71a609e638a78eb414375307", $mode);
+&test_importer ("$samples/applix/sample.as", "f74a2741651a50cbb0f1c25fb1e5dd69aee9376b", $mode);
diff --git a/test/t5903-sylk.pl b/test/t5903-sylk.pl
index a5d687d..ad8c57d 100755
--- a/test/t5903-sylk.pl
+++ b/test/t5903-sylk.pl
@@ -9,6 +9,6 @@ use GnumericTest;
my $mode = ((shift @ARGV) || "check");
&message ("Check the sylk importer.");
-&test_importer ("$samples/sylk/test.sylk", "df210b18b69881573dc7814cd0c1809f9f605a5b", $mode);
-&test_importer ("$samples/sylk/encoding.sylk", "a795eb09e43b35c054f9b8efd5f8a77649702eb7", $mode);
-&test_importer ("$samples/sylk/app_b2.sylk", "77d6c82d9a5713c4a2840a2a0567468563713708", $mode);
+&test_importer ("$samples/sylk/test.sylk", "b40fd83b35573ee4a1a9c4ecb57ad8423535ef67", $mode);
+&test_importer ("$samples/sylk/encoding.sylk", "96752054824a64eb413c40c32e8874be0778114f", $mode);
+&test_importer ("$samples/sylk/app_b2.sylk", "17a044cc8e4a2e4873d63ec32c5aab7a0df8834e", $mode);
diff --git a/test/t5904-mps.pl b/test/t5904-mps.pl
index ce3e3e2..b164982 100755
--- a/test/t5904-mps.pl
+++ b/test/t5904-mps.pl
@@ -9,5 +9,5 @@ use GnumericTest;
my $mode = ((shift @ARGV) || "check");
&message ("Check the mps importer.");
-&test_importer ("$samples/solver/blend.mps", "3d3e61c7f892744a1142a044ddd7091295e44133", $mode);
-&test_importer ("$samples/solver/afiro.mps", "27fc05dfa9bb5fee724f6f65a1ac35099d5b690e", $mode);
+&test_importer ("$samples/solver/blend.mps", "1f97ef58ccfb0913ce36dad7b25ad8471e823bc4", $mode);
+&test_importer ("$samples/solver/afiro.mps", "6c889e559ecc421b8397fd528dce2514e0cd6540", $mode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]