From f37b9e335acb44738a69d6912e45ca3eb5e40651 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Sun, 30 Jan 2022 23:33:22 -0800 Subject: framework/core.py: Try to run wflinfo in collect_system_info() Thanks to Ken for pointing me in the right direction for this. Signed-off-by: Jordan Justen --- framework/core.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/framework/core.py b/framework/core.py index 9fb60a2bb..20a55ec15 100644 --- a/framework/core.py +++ b/framework/core.py @@ -186,6 +186,12 @@ def collect_system_info(): ('clinfo', ['clinfo']), ('lspci', ['lspci', '-nn'])] + platform = os.environ.get('PIGLIT_PLATFORM') + if platform is not None: + if platform == 'mixed_glx_egl': + platform = 'x11_egl' + progs.append(('wflinfo', ['wflinfo', '-p', platform, '-a', 'gl'])) + result = {} for name, command in progs: -- cgit v1.2.3