Use of Python Imaging Library in tests

It looks like a number of the new referrer-policy tests are trying to 
use the Python Image module, which isn't part of the stdlib. As a result 
these tests aren't possible to run out of the box, which is new and 
problematic. Even if we shipped PIL (or Pillow) as part of the 
repository I believe that it has a build step, so tests would continue 
to not work out of the box.

Can we find some alternative solution like checking in the generated 
files needed rather than trying to generate images at runtime? Otherwise 
I will end up disabling these tests on the Gecko infrastructure, which 
won't help anyone.

On a somewhat related note, there seem to be 1500 new files containing 
referrer-policy tests. This is somewhat slow to run. Are we sure that 
there isn't some way to set up these tests that's faster? I understand 
that there might not be, but I want to check.

Received on Thursday, 4 June 2015 08:56:29 UTC