[Piglit] [PATCH 06/15] gleantest.py: Add WindowResizeMixin to class hierarchy
Dylan Baker
baker.dylan.c at gmail.com
Fri Oct 3 17:57:47 PDT 2014
This adds the WindowResizeMixin to GleanTest, which allows it to be
recover from window resizing.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
framework/test/gleantest.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/framework/test/gleantest.py b/framework/test/gleantest.py
index 6ec285d..133a88e 100644
--- a/framework/test/gleantest.py
+++ b/framework/test/gleantest.py
@@ -23,7 +23,7 @@
""" Glean support """
import os
-from .base import Test
+from .base import Test, WindowResizeMixin
from .piglit_test import TEST_BIN_DIR
__all__ = [
@@ -32,10 +32,10 @@ __all__ = [
# GleanTest: Execute a sub-test of Glean
-class GleanTest(Test):
+class GleanTest(WindowResizeMixin, Test):
""" Execute a glean subtest
- This class descendes from exectest.Test, and provides methods for running
+ This class descends from exectest.Test, and provides methods for running
glean tests.
"""
--
2.1.2
More information about the Piglit
mailing list