Test functions directory

This commit is contained in:
2026-06-10 10:39:36 -07:00
parent e923dc2c42
commit 3711121e0f
2 changed files with 22 additions and 0 deletions

View File

@@ -132,3 +132,13 @@ float uniform_bearing_cursor = 0.0f;
// GLSL uniform: float marine_a_bearing // GLSL uniform: float marine_a_bearing
// Components: Marine A-scope // Components: Marine A-scope
float uniform_marine_a_bearing = 0.0f; 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;

View File

@@ -36,6 +36,7 @@
#include <ctime> #include <ctime>
#include <string> #include <string>
#include <mutex> #include <mutex>
#include <vector>
/* ============================================================ /* ============================================================
* TARGET DATA STRUCTURES * TARGET DATA STRUCTURES
@@ -212,3 +213,14 @@ extern float uniform_bearing_cursor;
// GLSL uniform: float marine_a_bearing // GLSL uniform: float marine_a_bearing
// Components: Marine A-scope // Components: Marine A-scope
extern float uniform_marine_a_bearing; 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<std::string> test_functions;
extern std::vector<std::string> test_functions_include;