[gnumeric] tests: ignore differences in the schema used.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] tests: ignore differences in the schema used.
- Date: Tue, 3 Mar 2015 00:45:10 +0000 (UTC)
commit 550ce6c3a69b2c420e0d41b4bc739b9f7ad43b79
Author: Morten Welinder <terra gnome org>
Date: Mon Mar 2 19:44:47 2015 -0500
tests: ignore differences in the schema used.
NEWS | 2 +-
test/ChangeLog | 4 ++++
test/normalize-gnumeric | 2 ++
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 5bbe6e5..3319cb9 100644
--- a/NEWS
+++ b/NEWS
@@ -30,7 +30,7 @@ Morten:
* SheetObjectImage fixes.
* Fix problem reading images from xls.
* Namespace fixes
-
+ * Test suite improvements.
--------------------------------------------------------------------------
Gnumeric 1.12.20
diff --git a/test/ChangeLog b/test/ChangeLog
index 45d4cf5..3a3b638 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-02 Morten Welinder <terra gnome org>
+
+ * normalize-gnumeric: Blind out schema version.
+
2015-02-04 Morten Welinder <terra gnome org>
* Release 1.12.20
diff --git a/test/normalize-gnumeric b/test/normalize-gnumeric
index eebaca4..1130a18 100755
--- a/test/normalize-gnumeric
+++ b/test/normalize-gnumeric
@@ -19,6 +19,8 @@ while (<STDIN>) {
s/( office:version=")[.0-9]+(")/$1XXX$2/;
}
+ s{(\bxmlns:gnm="http://www.gnumeric.org/v)\d+(\.dtd)"}{$1XX$2};
+
if (m|^\s*<gnm:PrintInformation>\s*$| .. m|^\s*</gnm:PrintInformation>\s*$|) {
# "x" out margins.
if (m|^\s*<gnm:Margins>\s*$| .. m|^\s*</gnm:Margins>\s*$|) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]