On Mon, 17 May 2010 22:54:38 +0200, Markus Glaser wrote:
Hi Dan,
will provide a working example with no need to include any extensions in
the course of this week. In the meantime, you might want to make sure
that $wgSeleniumTiffTestUploads = false;
in PagedTiffHandler_tests.php. Then, the test will not try to upload any
of the pictures from libtiff. In order for the tests to succeed, you
need to upload Multipage.tiff into the wiki. If there are any images
missing, please let me know and I will send them to you. Actually, I
didn't want to check in a third-party archive into the svn because of
copyright considerations. The images seem to be public domain, but to
me, it was not totally clear, whether they are. Are there any policies
regarding this case? I assume, when there are more tests, especially
with file uploads, the issue might arise again.
Cheers,
Markus
Thanks Markus,
$wgSeleniumTiffTestUploads does indeed equal false. I was failing on the
upload of Multipage.tiff until I added 'tiff' to $wgFileExtensions. Now I
am failing because allChecksOk is false. It appears this happens on line
32 of PagedTiffHandler_tests.php on the statement:
if ($source != 'filetoc') $this->allChecksOk = false;
I'm not an image expert, so I don't know why this is happening.
Regards,
Dan
--
-- Dan Nessett