GleanTest has accepted **kwargs for some time, but didn't actually pass them to the super() call in it's constructor. This patch fixes that and also adds *args. At the moment we don't take addition args for the constructor, but we might at some point want to.
Signed-off-by: Dylan Baker <[email protected]> --- framework/exectest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/exectest.py b/framework/exectest.py index 9131d08..4a8714a 100644 --- a/framework/exectest.py +++ b/framework/exectest.py @@ -296,9 +296,10 @@ class PiglitTest(Test): class GleanTest(Test): globalParams = [] - def __init__(self, name, **kwargs): + def __init__(self, name, *args, **kwargs): super(GleanTest, self).__init__([glean_executable, "-o", "-v", "-v", - "-v", "-t", "+" + name]) + "-v", "-t", "+" + name], + *args, **kwargs) @Test.command.getter def command(self): -- 2.0.0.rc2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
