Tests failing on Linux Mint

I searched the archive of the mailing list but didn’t find anything about these yet, the following tests are failing:

Core/writeTextToCanvas allows the text to be either stroked or filled.

Expected 5 to equal 2.
Expected 5 to equal 2.

Renderer/Framebuffer draws to a depth texture attachment. (show summary)
Expected { 0 : 0, 1 : 0, 2 : 0, 3 : 0 } to equal epsilon [ 128, 128, 128, 128 ], 1.

Renderer/Framebuffer draws to a depth-stencil texture attachment. (show summary)
Expected { 0 : 0, 1 : 0, 2 : 0, 3 : 0 } to equal epsilon [ 128, 128, 128, 128 ], 1.

There were 6 tests failing but after updating my Nvidia Geforce G105M drivers, only those 3 keep failing. I noticed a huge improvement on the running time of the specs from ~155 secs, to ~55 secs after updating the drivers, that’s nice!

I’m running Firefox 21.0 (Firefox for Linux Mint 1.0) on a 32-bit kernel.

Any idea where this is coming from?

Andre,

Can you try Chrome too? It’s possible that these tests are too tightly-coupled to the (many) video cards we’ve ran them on or that there are still bugs in the driver you are using.

Patrick

writeTextToCanvas in particular has some tests that may fail due to differences in how fonts are rendered. You could try modifying the code so that the canvas used in the test is added to the page, and looking at what the text looks like may help track down why it fails.

All tests pass on Google Chrome, it’s probably a bug on Firefox’s end…

I’ll use Chrome to test my written code from now on.

Sábado, 1 de Junho de 2013 1:21:16 UTC+1, Patrick Cozzi escreveu:

Andre - Scott fixed this in #845. It is good to test your code on both Chrome and Firefox, even though we still need to tighten up the tests a bit to get more consistent behavior on Firefox.

Patrick