Commit 6fc4f641 authored by Manuel Stoeckl's avatar Manuel Stoeckl
Browse files

Enable OpenGL for Weston in headless tests

parent 68e6782c
......@@ -83,6 +83,10 @@ weston_command = [
"--height=777",
]
arguments = subprocess.check_output([weston_path, "--help"]).decode()
if "--use-gl" in arguments:
weston_command.append("--use-gl")
try:
import psutil
except ImportError:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment