[Piglit] [Patch v2 06/13] framework/exectest.py: Make glean_executable constant PEP8 compliant
Dylan Baker
baker.dylan.c at gmail.com
Tue May 13 11:38:39 PDT 2014
Changes internally used glean_executable to _GLEAN_EXECUTABLE, this is in
keeping with python interface standards and PEP8.
Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
framework/exectest.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/framework/exectest.py b/framework/exectest.py
index 4a8714a..a98dc9f 100644
--- a/framework/exectest.py
+++ b/framework/exectest.py
@@ -48,7 +48,7 @@ else:
TEST_BIN_DIR = os.path.normpath(os.path.join(os.path.dirname(__file__),
'../bin'))
-glean_executable = os.path.join(TEST_BIN_DIR, "glean")
+_GLEAN_EXECUTABLE = os.path.join(TEST_BIN_DIR, "glean")
class Test(object):
@@ -297,7 +297,7 @@ class GleanTest(Test):
globalParams = []
def __init__(self, name, *args, **kwargs):
- super(GleanTest, self).__init__([glean_executable, "-o", "-v", "-v",
+ super(GleanTest, self).__init__([_GLEAN_EXECUTABLE, "-o", "-v", "-v",
"-v", "-t", "+" + name],
*args, **kwargs)
--
2.0.0.rc2
More information about the Piglit
mailing list