[gnumeric] t6516: blank out width-pts and height-pts differences



commit bcb1070c27fc857c35c3b0ffb0bb7a5b2ded592f
Author: Morten Welinder <terra gnome org>
Date:   Tue Jan 20 18:54:53 2015 -0500

    t6516: blank out width-pts and height-pts differences

 test/t6516-graph.pl |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/test/t6516-graph.pl b/test/t6516-graph.pl
index 765d61e..6df5465 100755
--- a/test/t6516-graph.pl
+++ b/test/t6516-graph.pl
@@ -40,9 +40,13 @@ if (0) {
                 'filter2' => 'std:drop_codepage',
                 'ignore_failure' => 1);
 
+# Point size isn't important.
+my $xlsx_drop_pts_size = "$PERL -p -e '\$_ = \"\" if m{^\\s*<property 
name=\"(width|height)-pts\">[0-9.]+</property>\\s*}'";
+
 &message ("Check graph xlsx roundtrip.");
 &test_roundtrip ($file,
                 'format' => 'Gnumeric_Excel:xlsx',
                 'ext' => "xlsx",
                 'resize' => '1048576x16384',
+                'filter1' => $xlsx_drop_pts_size,
                 'ignore_failure' => 1);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]