[Piglit] Refactor Test classes
Dylan Baker
baker.dylan.c at gmail.com
Sat Mar 1 12:37:43 PST 2014
On Tuesday, February 11, 2014 06:11:05 PM Dylan Baker wrote:
> This series Reworks how python tests classes are strucutred, with a goal
> of simplifying the code.
>
> In glsl_parser_test and shader_test this means replacing classes with
> funcions. The reason for this is pretty simple, the only thing that was
> being done in the classes was parsing the test file to fill in data for
> the parent class. Replacing this with a function makes the code cleaner,
> less complex, and means that we have fewer children to deal with.
>
> Patches 1-3 Rework the shader_test module.
> Patches 4-9 Rework the glsl_parer_test module
> Patches 10-12 Refactor Test, ExecTest, and PlainExec test to create a
> single abstract base class that all children inherit from.
If there are no objections I plan to push patches 1-9 on Monday. There are
some problems with the last 3 patches that I will fix and send out with another
series.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140301/fbb13389/attachment.pgp>
More information about the Piglit
mailing list