[Piglit] [PATCH 13/35] framework/test/piglit_test: make cl_concurrency always a boolean
Dylan Baker
dylan at pnwbakers.com
Wed Apr 4 22:27:01 UTC 2018
Just a nice cleanup.
---
framework/test/piglit_test.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/framework/test/piglit_test.py b/framework/test/piglit_test.py
index 0986ab0..b5c9a53 100644
--- a/framework/test/piglit_test.py
+++ b/framework/test/piglit_test.py
@@ -56,8 +56,8 @@ else:
TEST_BIN_DIR = os.path.normpath(os.path.join(ROOT_DIR, 'bin'))
-CL_CONCURRENT = (not sys.platform.startswith('linux') or
- glob.glob('/dev/dri/render*'))
+CL_CONCURRENT = bool(not sys.platform.startswith('linux') or
+ glob.glob('/dev/dri/render*'))
class PiglitBaseTest(ValgrindMixin, Test):
--
git-series 0.9.1
More information about the Piglit
mailing list