[Piglit] Fwd: [PATCH 1/1] RFC: add ability to report gl api supported by tests

Eric Anholt eric at anholt.net
Wed Jan 30 13:25:43 PST 2013


Tom Gall <tom.gall at linaro.org> writes:

> Why is this is a good patch to add?
>
> In the not too distant future piglit tests will be able to be built
> once and at runtime one cam choose to test against api family, IE GL,
> GLES or both. I further assert that one will be able to specify what
> context versions should be tested, IE GLES1, GLES2, GLES3, all.
>
> This patch is a small part of these goals. When a testcase using this
> code reports what it can do, it allows the python test harness to
> decide if a testcase is a appropriate for running by asking it.

If the testcase is not appropriate to run, the test just reports skip
when you run it.  You're adding an extra invocation of the program for
supported tests, and not saving any invocations of the program at all.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130131/4dee9f09/attachment.pgp>


More information about the Piglit mailing list