From 3711121e0ff883b7edbeb449a23a2b038e2343bc Mon Sep 17 00:00:00 2001 From: Mark Allyn Date: Wed, 10 Jun 2026 10:39:36 -0700 Subject: [PATCH] Test functions directory --- global_data.cpp | 10 ++++++++++ include/data_structure_and_constants.h | 12 ++++++++++++ 2 files changed, 22 insertions(+) diff --git a/global_data.cpp b/global_data.cpp index 8c7aa19..79b0301 100644 --- a/global_data.cpp +++ b/global_data.cpp @@ -132,3 +132,13 @@ float uniform_bearing_cursor = 0.0f; // GLSL uniform: float marine_a_bearing // 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 test_functions; +std::vector test_functions_include; diff --git a/include/data_structure_and_constants.h b/include/data_structure_and_constants.h index 16fc18d..2dcfd71 100644 --- a/include/data_structure_and_constants.h +++ b/include/data_structure_and_constants.h @@ -36,6 +36,7 @@ #include #include #include +#include /* ============================================================ * TARGET DATA STRUCTURES @@ -212,3 +213,14 @@ extern float uniform_bearing_cursor; // GLSL uniform: float marine_a_bearing // Components: Marine A-scope extern float uniform_marine_a_bearing; + +/* ============================================================ + * TEMPORARY TEST FILE REGISTRY + * Each active test .cpp stub pushes its filename into test_functions. + * Each active test .h stub pushes its filename into test_functions_include. + * Both are printed at startup when any entry is present so it is + * immediately visible that test infrastructure is compiled in. + * Components: any temporary test stub; Thread 1 (startup logging) + * ============================================================ */ +extern std::vector test_functions; +extern std::vector test_functions_include;