<div dir="ltr">Hi Sandro,<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 7, 2014 at 6:22 AM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It seems to me that the expected output images for PAL rendering<br>
are duplicated, being present once for the "canvas" test and once<br>
for the "composer" test. Example:<br>
<br>
<br>
$ cd tests/testdata/control_images/<br>
$ diff \<br>
expected_pal_canvas/sp_background_rect/precise/sp_background_rect.png \<br>
expected_pal_composer/sp_img_background_rect/precise/sp_img_background_rect.png<br>
<br>
No difference there.<br></blockquote><div><br>Those are not duplicate images. One is
 a control image for testing output from canvas->image and the other 
when exporting from composer->image, which are completely different 
processes. The fact that they are ostensibly identical is a good thing. 
 :-) <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Would it make sense to use a symlink between the two directories,<br>
to reduce size of working copies and maintainance cost ?<br></blockquote><div><br><div><div class="gmail_signature">When the tests 
incorporate other platforms, you may not see 'duplicates' due to 
differences in font rendering. In fact, there are even tests to compare 
those two images against each other; so, please do not symlink anything 
(if only for the fact that symlinks are unsupported on Windows).<br><br></div><div class="gmail_signature">You can read about how I designed the tests here: <a href="https://github.com/qgis/QGIS/tree/master/tests/testdata/labeling">https://github.com/qgis/QGIS/tree/master/tests/testdata/labeling</a><br><br></div><div class="gmail_signature">Currently, there are very few base labeling tests, but am looking to increase those to have considerably more coverage.<br></div><div class="gmail_signature"><br></div><div class="gmail_signature">Regards, <br></div><div class="gmail_signature"><br>Larry Shaffer<br>Dakota Cartography<br>Black Hills, South Dakota</div></div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I noticed as I had to update the same images twice already:<br>
<a href="https://github.com/strk/QGIS/commit/ec8dfd36572d445f9a11f27629c45494e82674be" target="_blank">https://github.com/strk/QGIS/commit/ec8dfd36572d445f9a11f27629c45494e82674be</a><br>
<a href="https://github.com/strk/QGIS/commit/69e90f5b531cbaf5a4902a3b2654674cb8773f86" target="_blank">https://github.com/strk/QGIS/commit/69e90f5b531cbaf5a4902a3b2654674cb8773f86</a><br>
<br>
--strk;<br>
<br>
 ()  ASCII ribbon campaign  --  Keep it simple !<br>
 /\  <a href="http://strk.keybit.net/rants/ascii_mails.txt" target="_blank">http://strk.keybit.net/rants/ascii_mails.txt</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br></div></div>