[Piglit] tests failing on freeglut

Paul Berry stereotype441 at gmail.com
Fri Jun 22 08:19:08 PDT 2012


On 22 June 2012 03:15, Dave Airlie <airlied at gmail.com> wrote:

> Hi guys,
>
> I haven't ran piglit in ages, went to give it a spin this morning and
> getting a lot of fails due to
>
> ./bin/fbo-fragcoord -auto -fbo
> freeglut  ERROR:  Function <glutSwapBuffers> called without first
> calling 'glutInit'.
>
> Which is perfectly true, but I've no idea where we should fix this.
>

fbo-fragcoord isn't supposed to be run with the "-fbo" option.  If you look
at its entry in all.tests, you'll see that it's added using
add_plain_test(), which causes it to be executed as "fbo-fragcoord -auto".

Having said that, it seems silly that fbo-fragcoord calls glutSwapBuffers()
directly.  Most piglit tests call piglit_present_results(), which only
calls glutSwapBuffers is the test is being run in manual non-fbo mode.


>
> Dave.
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20120622/1b6d851f/attachment.html>


More information about the Piglit mailing list