Advance standalone admission, finite artillery and native validation
This commit is contained in:
@@ -138,13 +138,15 @@ def game_evidence(content, project=None):
|
||||
non_workbench = bool(defines) and all(not {'WORKBENCH', 'ENF_WB'}.intersection(value.split(',')) for value in defines)
|
||||
headers = re.findall(r'ERR ORDINARY: header verified project=(core|chat) systems=MissionSystems', content)
|
||||
header_verified = bool(headers) and (project is None or project in headers)
|
||||
ready = header_verified and 'Rereintroduced [mission]: phase 0 -> 1' in content
|
||||
participants = re.findall(r'ERR ORDINARY: local participant verified project=(core|chat) phase=prison', content)
|
||||
participant_verified = bool(participants) and (project is None or project in participants)
|
||||
ready = header_verified and participant_verified and 'Rereintroduced [mission]: phase 0 -> 1' in content
|
||||
unexpected_fixture = 'ERR SMOKE ' in content
|
||||
failed = (bool(report['engine_errors'] or report['script_or_runtime_failures'])
|
||||
or 'Rereintroduced: scenario preparation failed' in content
|
||||
or 'Can\'t compile "Game"' in content or unexpected_fixture
|
||||
or any({'WORKBENCH', 'ENF_WB'}.intersection(value.split(',')) for value in defines))
|
||||
return {**report, 'scenario_header_verified': header_verified, 'verified_header_projects': headers, 'game_module_defines': defines, 'workbench_undefined': non_workbench,
|
||||
return {**report, 'local_participant_verified': participant_verified, 'scenario_header_verified': header_verified, 'verified_header_projects': headers, 'game_module_defines': defines, 'workbench_undefined': non_workbench,
|
||||
'normal_mission_ready': ready, 'unexpected_smoke_fixture': unexpected_fixture,
|
||||
'failed': failed, 'ready': non_workbench and ready and not failed,
|
||||
'scope': 'ordinary local game startup only; no player input, full escape, multiplayer or FPS proof'}
|
||||
|
||||
Reference in New Issue
Block a user