summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):