[Piglit] Testing an unsupported function?

Tapani Pälli tapani.palli at intel.com
Sun Dec 28 22:21:39 PST 2014


On 12/23/2014 12:35 AM, Ian Romanick wrote:
> How do I make a piglit test that calls an unsupported function?  I want
> to verify that calling a function not supported by the context either
> crashes or generates GL_INVALID_OPERATION.  All of the piglit_dispatch
> infrastructure seems to put too much padding around things to make this
> possible.
>
> Suggestions?

One (bit painful) way would be to dlopen and dlsym the function?

> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>


More information about the Piglit mailing list