From b7409883a49073e44550c7e50be25adfcfca82fe Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 3 Apr 2018 11:49:08 -0700 Subject: framework/test/piglit_test: make cl_concurrency always a boolean Just a nice cleanup. Tested-by: Rafael Antognolli --- 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 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): -- cgit v1.2.3