summaryrefslogtreecommitdiff
path: root/framework/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'framework/core.py')
-rw-r--r--framework/core.py6
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: