[Piglit] [PATCH 05/12] framework/exectest.py: Make glean_executable constant PEP8 compliant

Dylan Baker baker.dylan.c at gmail.com
Fri Apr 25 09:58:53 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 7be29c5..0d8826f 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.rc0



More information about the Piglit mailing list