[Piglit] Don't allow test names to be reassigned accidentally

Dylan Baker baker.dylan.c at gmail.com
Fri Mar 13 15:29:51 PDT 2015


On Thu, Mar 05, 2015 at 11:34:17AM -0800, Dylan Baker wrote:
> This series removes all duplicate test entries (or examples of tests
> being reassigned to a different test).
> The big change is that this changes the profile.test_list to not allow
> tests to be reassigned normally, if one does, an exception will be
> raised (and caught to print a nice error message). If one wants to
> actually override a test name then one can use the
> profile.allow_reassignment context manager to explicitly reassign tests.
> See quick.py for an example of this functionality.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150313/5e7e874f/attachment.sig>

More information about the Piglit mailing list