diff --git a/recompiler/tests/test_optional_netplay_auth.py b/recompiler/tests/test_optional_netplay_auth.py index a8d66794..8017182c 100644 --- a/recompiler/tests/test_optional_netplay_auth.py +++ b/recompiler/tests/test_optional_netplay_auth.py @@ -31,6 +31,7 @@ def main(): (root / "recomp_net/auth.h").write_text("RNET_AUTH_HEADER_INCLUDED\n") (root / "recomp_net/chat_filter.h").write_text("RNET_CHAT_HEADER_INCLUDED\n") (root / "recomp_net/host_relay.h").write_text("RNET_HOST_RELAY_HEADER_INCLUDED\n") + (root / "recomp_net/host_ice.h").write_text("RNET_HOST_ICE_HEADER_INCLUDED\n") flags = ["RECOMP_LAUNCHER=1", "RECOMP_LAUNCHER_HAS_ACCOUNT=1", "SDL_VERSION_ATLEAST(x,y,z)=1", "DEFAULT_DEBUG_PORT=4370"] if enabled: @@ -47,7 +48,8 @@ def main(): if enabled: for token in ("RNET_AUTH_HEADER_INCLUDED", "rnet_account_pump()", "ae_np_account_login_begin", "account_available = ae_np_account_available", - "RNET_HOST_RELAY_HEADER_INCLUDED", "RNetHostRelayStatus st"): + "RNET_HOST_RELAY_HEADER_INCLUDED", "RNetHostRelayStatus st", + "RNET_HOST_ICE_HEADER_INCLUDED", "RNetHostIceStatus st"): assert token in p.stdout, f"enabled path lost {token}" else: # netplay-off builds must not need any recomp_net header @@ -56,6 +58,8 @@ def main(): assert "rnet_account_" not in p.stdout, "offline launcher retained account linkage" assert "RNET_ACCOUNT_" not in p.stdout, "offline launcher retained account state dependency" assert "RNetHostRelayStatus st" not in p.stdout, "offline launcher retained the recomp-net host relay" + assert "RNET_HOST_ICE_HEADER_INCLUDED" not in p.stdout + assert "RNetHostIceStatus st" not in p.stdout, "offline launcher retained the recomp-net host ICE" # Compile the REAL offline lobby TU too: its early chat-report include # used to leak an independent optional dependency before the #else. lobby = args.source.parent / "psx_lobby_client.c"