summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-04-03 11:49:08 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-05-01 14:28:26 -0700
commitb7409883a49073e44550c7e50be25adfcfca82fe (patch)
tree4343f9022da21f832ed7e8f6da0d6c9da30a0883
parent8c79770317389fe7a31f689da94523d43e8e6da7 (diff)
framework/test/piglit_test: make cl_concurrency always a boolean
Just a nice cleanup. Tested-by: Rafael Antognolli <rafael.antognolli@intel.com>
-rw-r--r--framework/test/piglit_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/test/piglit_test.py b/framework/test/piglit_test.py
index 0986ab024..b5c9a53a7 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):