[Piglit] Don't allow test names to be reassigned accidentally
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...
Size: 473 bytes
Desc: Digital signature
More information about the Piglit