Michael Droettboom wrote:
>> "inkscape input.svg --export-png=output.png" works very well as an svg
>> renderer.
>>
> I'd also like to run SVG through xmllint against the SVG schema as
> another sanity check. I may get to this if I can find the time.
That'd be great. I just installed inkscape and xmllint on the non-bare
buildslave machine.
>> As far as the test data -- I agree this is an issue. One point in favor
>> of the status quo is that it's really nice to have the test data
>> included with the source code so there are no configuration hassles. I'm
>> not sure how well the buildbot infrastructure would cope with anything
>> else. For example, to my knowledge, there is no Buildbot precedent to
>> automatically pull from two branches to execute a single test run. But
>> in general I think this does bear thinking about.
>>
> An easy improvement may be having an extra kwarg on the image_comparison
> decorator to select a subset of backends. For example, many of the ones
> in test_simplification.py only apply to the Agg backend.
Done in r7863. To make use of it, do something like the following patch
(and don't forget to delete the baseline .pdf files from the repository):
-...@image_comparison(baseline_images=['simplify_curve'])
+...@image_comparison(baseline_images=['simplify_curve'],extensions=['png'])
> While I'm sharing my wish list out loud, I think it would also be highly
> cool to get the native Mac OS backend in the buildbot tests, as that's
> one I can't test easily myself.
That would require the Mac OS X buildslave to start working again too,
as I assume the backend actually requires the OS. And that would require
building on Snow Leopard to work, as I understand it.
-Andrew
>From d6ae15c5495930963d2d124bf3fc70e8bc6f80a9 Mon Sep 17 00:00:00 2001
From: Andrew Straw <straw...@astraw.com>
Date: Fri, 9 Oct 2009 10:38:09 -0700
Subject: [PATCH] don't test simplification
---
.../test_simplification/simplify_curve.pdf | Bin 1235 -> 0 bytes
lib/matplotlib/tests/test_simplification.py | 2 +-
2 files changed, 1 insertions(+), 1 deletions(-)
delete mode 100644 lib/matplotlib/tests/baseline_images/test_simplification/simplify_curve.pdf
diff --git a/lib/matplotlib/tests/baseline_images/test_simplification/simplify_curve.pdf b/lib/matplotlib/tests/baseline_images/test_simplification/simplify_curve.pdf
deleted file mode 100644
index b179d7b5542ed8c05d203a14f9dd9f354a3175a4..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 1235
zcmZuxOK1~O6z!&<BUS~`?X42h63v^J$>dW?mFA<>YU9L$V53YjFX_}|CeFN;C>BJp
zn<8$l3Q~2`j|&mBD2UKap+Yw<#EJ+-5D~?N7W}_ANt>8Bo0*)s_rCMF6IUV{-;2F|
z!8Q9DW*!R|l...@?7slt4ws<L8P5P(-C_-pm0?s5xST#0nJX>j...@j_osl&PE~)lDO+
zQUYz!4xcE7#jr2v!#>$Bdql}Citcs+B`i}L&JYXQ3Mwt;O`6x!P}H)j...@yvtvp<Y
zGXJf>UeRlh7<*ul(qacf)n>1q^%{h>*y...@h)|#9wheea%{b?lmgef2=j...@o~w
zILRbN<4iUwQ9wNfCbzqCk5ukGkOCAd(E~}!CCcRi$w5`qjT{8a<Kw15!S6g*ZNjz2
zMpy+gs0~;wx0Idc1_M%vZ4O%*W;k_fanjlf...@nm~j4y-dzi=<;`+10Dj5Gc-5T6
zU#x`~*Yiv)pm?4!j*^V2u`_y!k)wlvd3a8kHf7NjgwoAI;z`RqY+e5B`Psa|yMN)8
zOL;UM*#{pY{mNA8`ww~Y(EH5A2TNm8Xdrg~^8Cci&Q0SRC$G$|42<51j!b=A9DC|M
zhVCii^`$xOLhH&6fBQr<o...@^ee9kothtga(x;<l^1Tjucd)u#SMPxf}|?Wer4eb$?P
zHe{r8=~jEk*;e<oy?Jio)X3MnyLxYZ(Wl>h^ZfpEX^Z-+>exnpu9...@a?n`ui!<s
zg^R|4...@y-(j5Gp=Y-Ql4%fP57iK%Qp<$akm#<R3)^L=khCrG)_<)-{`@<Rq`~#i^!j
z*Q8alNLCO5OM<w5K|q!z8M3gBVaAYOU{tXHlTwF;B*w1}3rdV$Jti}6>ak$sykNNT
z...@8q)b;xQgZTrET%-Wo&AQ$ouHi>5RnHU4`TyxLvL=*Q6e*_3O?5tqq<)?-zqp4s
SRW0f`7z&33mn+s67ybe;ab=wV
diff --git a/lib/matplotlib/tests/test_simplification.py b/lib/matplotlib/tests/test_simplification.py
index f7dcf3c..bb574fc 100644
--- a/lib/matplotlib/tests/test_simplification.py
+++ b/lib/matplotlib/tests/test_simplification.py
@@ -89,7 +89,7 @@ def test_sine_plus_noise():
assert len(simplified) == 279
-...@image_comparison(baseline_images=['simplify_curve'])
+...@image_comparison(baseline_images=['simplify_curve'], extensions=['png'])
def test_simplify_curve():
pp1 = patches.PathPatch(
Path([(0, 0), (1, 0), (1, 1), (nan, 1), (0, 0), (2, 0), (2, 2), (0, 0)],
--
1.6.1.2
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel