[Piglit] Refactor Test Classes v2

Dylan Baker baker.dylan.c at gmail.com
Wed Apr 2 13:46:12 PDT 2014


On Thursday, March 27, 2014 15:33:53 Dylan Baker wrote:
> This series refactors and simplifies the Test classes in piglit. It's
> goal is to have a single abstract base class Test, which should be the
> parent of most test classes. PlainExecTest (renamed PiglitTest) derives
> from this class, while GLSLParserTest and ShaderTest derive from
> PiglitTest. IGTTest, GTest, OGLCTest, etc descend from Test.
> 
> In the quest to do this ShaderTest and GLSSParserTest needed to be
> refactored, since they relied on Test, ExecTest, and PlainExecTest being
> separate from each other. They have been simplified, and in some case
> optimized, but usually with a focus on better error reporting and
> handling.
> 
> Finally, testBinDir was moved from framework.core to 
framework.exectest.
> This cleans up some import dependencies between the various modules,
> since most modules that need testBinDir also need Test or PiglitTest.
> 
> This is available at my github: https://github.com/dcbaker/test-refactor-v5

bump
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140402/58d208a9/attachment.html>
-------------- 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/20140402/58d208a9/attachment.sig>


More information about the Piglit mailing list