[Piglit] [PATCH 06/18] gleantest.py: replace glean_executable with class variable
Dylan Baker
baker.dylan.c at gmail.com
Fri Jul 11 11:32:26 PDT 2014
Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
framework/gleantest.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/framework/gleantest.py b/framework/gleantest.py
index 8f547e5..33cab5f 100644
--- a/framework/gleantest.py
+++ b/framework/gleantest.py
@@ -25,16 +25,15 @@ import os
from .exectest import Test, TEST_BIN_DIR
-glean_executable = os.path.join(TEST_BIN_DIR, "glean")
-
# GleanTest: Execute a sub-test of Glean
class GleanTest(Test):
GLOBAL_PARAMS = []
+ _EXECUTABLE = os.path.join(TEST_BIN_DIR, "glean")
def __init__(self, name, **kwargs):
super(GleanTest, self).__init__(
- [glean_executable, "-o", "-v", "-v", "-v", "-t", "+" + name],
+ [self._EXECUTABLE, "-o", "-v", "-v", "-v", "-t", "+" + name],
**kwargs)
@Test.command.getter
--
2.0.0
More information about the Piglit
mailing list