Migrate player integration coverage to server-thread hosting

Co-Authored-By: OpenAI Codex GPT-6.1 <noreply@openai.com>
This commit is contained in:
rdbtCVS
2026-10-25 19:36:11 +00:00
parent 8177a6f450
commit bd09f8b03e
29 changed files with 932 additions and 100 deletions
+2
View File
@@ -75,6 +75,8 @@ def game_env(screen, home=None):
extra['HORIZON_HOME'] = home
if sys.platform == 'darwin':
return lab.game_env(**extra)
if not shutil.which('vscreen') and os.environ.get('DISPLAY'):
return lab.game_env(**extra)
env = lab.game_env(VSCREEN=screen, **extra)
subprocess.run(['vscreen', 'up'], env=env, check=False, capture_output=True)
text = subprocess.run(['vscreen', 'env'], env=env, capture_output=True, text=True, check=True).stdout