diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2022-01-30 23:33:22 -0800 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2022-01-30 23:52:52 -0800 |
commit | f37b9e335acb44738a69d6912e45ca3eb5e40651 (patch) | |
tree | d5a7e0591e8f45f65026d7e9a2ca17d14b6b849b | |
parent | f328af2ddd0d1bab0f3d149373a36657b252b337 (diff) |
framework/core.py: Try to run wflinfo in collect_system_info()wflinfo-sys-info
Thanks to Ken for pointing me in the right direction for this.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r-- | framework/core.py | 6 |
1 files changed, 6 insertions, 0 deletions
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: |