[Piglit] Make options a global variable

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Fri Oct 30 16:21:43 PDT 2015

One of the awkward things in piglit is passing the options object around
everyplace we need it, which is a lot of places. This creates a lot of
code, and a lot of passing, and a lot of places for something to fail.
This small series turns options into a global variable, which can be
mutated (including reset to stock). This helps to simplify options
handling a bit, and will make using options in new places simpler.

More information about the Piglit mailing list