[gnumeric] tests: ignore marker types not present in xlsx



commit 29b8b36020f3497950673c75dd6b3e0284b0194b
Author: Morten Welinder <terra gnome org>
Date:   Sat Jan 24 10:51:55 2015 -0500

    tests: ignore marker types not present in xlsx

 test/t6516-graph.pl |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/test/t6516-graph.pl b/test/t6516-graph.pl
index 6df5465..426f3e3 100755
--- a/test/t6516-graph.pl
+++ b/test/t6516-graph.pl
@@ -43,10 +43,13 @@ if (0) {
 # 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*}'";
 
+my $xlsx_missing_marker_shapes = "$PERL -p -e 's/\\bshape=\"(hourglass|butterfly)\"/shape=\"diamond\"/;'";
+
+
 &message ("Check graph xlsx roundtrip.");
 &test_roundtrip ($file,
                 'format' => 'Gnumeric_Excel:xlsx',
                 'ext' => "xlsx",
                 'resize' => '1048576x16384',
-                'filter1' => $xlsx_drop_pts_size,
+                'filter1' => "$xlsx_drop_pts_size | $xlsx_missing_marker_shapes",
                 'ignore_failure' => 1);


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