Bug 1240056 - Disable font anti-aliasing on desktop-test image. DONTBUILD. r=dustin

In bug 1239301 we noticed that the fonts on the releng Linux hosts versus the
docker image were slightly different and caused some test failures.
The difference is that on the releng hosts we have anti-aliasing disabled and
many tests (reftests mainly) had adapted for this configuration, hence, failing if enabled.

In this bug we're going to disable anti-aliasing for the desktop-test image in
order to pass the tests.

See the difference between the two pushes:
https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&revision=3c9a54d68c95,1d3078c86e52

We went from failing over 200 tests across jobs to less than 10-20 tests in total.

In the future we will have to consider if we want to fix this configuration.
This commit is contained in:
Armen Zambrano Gasparnian 2016-01-15 09:27:45 -05:00
parent f4703bef27
commit 571219aa86
3 changed files with 9 additions and 1 deletions

View File

@ -56,5 +56,8 @@ ENV DISPLAY :0
# Disable apport (Ubuntu app crash reporter) to avoid stealing focus from test runs
ADD apport /etc/default/apport
# Disable font antialiasing for now to match releng's setup
ADD fonts.conf /home/worker/.fonts.conf
# Set a default command useful for debugging
CMD ["/bin/bash", "--login"]

View File

@ -1 +1 @@
0.5.5
0.5.6

View File

@ -0,0 +1,5 @@
<match target="font">
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>