test(multiplayer): recover from native Godot crashes

This commit is contained in:
Josh Creek
2026-09-03 21:28:21 +01:00
parent ea1c65acfb
commit 9a724bf562
2 changed files with 18 additions and 1 deletions
+5
View File
@@ -14,6 +14,11 @@ class LocalMultiplayerGateTest(unittest.TestCase):
self.assertIn("type=bind,src=$root_dir,dst=/workspace", script)
self.assertIn("Godot executable not found", script)
def test_native_engine_crash_falls_back_but_test_failure_does_not(self):
script = (ROOT / "scripts" / "verify_multiplayer_local.sh").read_text()
self.assertIn('if [[ "$native_status" -lt 128 ]]', script)
self.assertIn("native Godot crashed", script)
if __name__ == "__main__":
unittest.main()