From 90a8a526d59a0d85849d09df415aab3f041b7886 Mon Sep 17 00:00:00 2001 From: The412Banner Date: Fri, 9 Oct 2026 05:47:16 -0400 Subject: [PATCH] Tests: the Proton launchers start the game through bl_run bl_run execs Proton as before, and waits for it only for a store game with cloud saves; the game-environment check now looks for that line. --- tools/tests/test_game_environment.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/tests/test_game_environment.py b/tools/tests/test_game_environment.py index 85926c04f..1fa4cd739 100644 --- a/tools/tests/test_game_environment.py +++ b/tools/tests/test_game_environment.py @@ -260,7 +260,9 @@ class GameEnvironmentTest(unittest.TestCase): def test_both_proton_wrappers_call_environment_launcher(self): for script in (COMPAT["LAUNCHER_SH"], COMPAT["EXTRA_WRAPPER_SH"] % "proton"): subprocess.run(["bash", "-n"], input=script, text=True, check=True) - self.assertIn('exec ${BL_TASKSET:-} /usr/local/bin/droiddeck-game-env', script) + # Started through bl_run, which execs it - or, for a store game with cloud saves, waits + # for it so droiddeck-store-launch --exited can follow (test_store_launch.CloudHooks). + self.assertIn('bl_run ${BL_TASKSET:-} /usr/local/bin/droiddeck-game-env', script) def test_wrappers_preload_the_session_library_before_the_input_shim(self): overlay = "/root/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so"