Remove all testing stuff

This commit is contained in:
2026-06-17 09:21:12 -07:00
parent 5b0e3353a7
commit ca78f1df0a
4 changed files with 81 additions and 83 deletions

View File

@@ -39,20 +39,15 @@
/* radar_management[] is indexed by RADAR_* constants (0-4).
* Slot 0 (RADAR_NONE) is the management/system entry.
* Its testing field holds the system-wide TESTING_* mode, initialized
* from TESTING_COMPONENT in settings.h — change that define and recompile.
* When testing is non-zero, no other radars can be made available.
* Slots 1-4 are per-radar entries. operatable is set to 1 once a radar is
* fully built. available and selected are set during startup argument parsing.
* The testing field in slots 1-4 mirrors slot 0 for convenient access but
* slot 0 is authoritative.
* Components: Thread 1, Traffic Cop (Thread 2) */
radar_management_structure radar_management[RADAR_COUNT] = {
{ RADAR_NONE, 0, 0, 0, TESTING_COMPONENT }, // [0] management — testing mode lives here
{ RADAR_CHAIN_HOME, 0, 0, 0, TESTING_NONE }, // [1] chain_home — not yet built
{ RADAR_MARINE_ASCOPE, 0, 0, 0, TESTING_NONE }, // [2] marine_ascope — not yet built
{ RADAR_MARINE_TRAFFIC, 0, 0, 0, TESTING_NONE }, // [3] marine_traffic — not yet built
{ RADAR_POLICE_BOAT, 0, 0, 0, TESTING_NONE }, // [4] police_boat — not yet built
{ RADAR_NONE, 0, 0, 0 }, // [0] management entry
{ RADAR_CHAIN_HOME, 0, 0, 0 }, // [1] chain_home — not yet built
{ RADAR_MARINE_ASCOPE, 0, 0, 0 }, // [2] marine_ascope — not yet built
{ RADAR_MARINE_TRAFFIC, 0, 0, 0 }, // [3] marine_traffic — not yet built
{ RADAR_POLICE_BOAT, 0, 0, 0 }, // [4] police_boat — not yet built
};
// No radar selected on startup; intro screen is displayed.
@@ -138,12 +133,3 @@ float uniform_bearing_cursor = 0.0f;
// Components: Marine A-scope
float uniform_marine_a_bearing = 0.0f;
/* ============================================================
* TEMPORARY TEST FILE REGISTRY
* Each active test stub pushes its own filename here at startup.
* Thread 1 init prints these if non-empty so the presence of test
* infrastructure is always visible in the console output.
* Components: any temporary test stub; Thread 1 (startup logging)
* ============================================================ */
std::vector<std::string> test_functions;
std::vector<std::string> test_functions_include;