mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
test(multiplayer): recover from native Godot crashes
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user