|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
🔗 Global symbol stubs for test executables to satisfy linker dependencies More...
Go to the source code of this file.
Functions | |
| __attribute__ ((constructor)) | |
| Test environment initialization (runs before main) Sets TESTING environment variable so libraries can detect test mode at runtime. This provides a fallback for when tests are run directly (not via ctest). CTest also sets TESTING=1 via set_tests_properties() in Tests.cmake. Also initializes the options RCU system so tests can use options_get(). | |
Variables | |
| atomic_bool | g_should_exit = false |
🔗 Global symbol stubs for test executables to satisfy linker dependencies
Definition in file globals.c.
| __attribute__ | ( | (constructor) | ) |
Test environment initialization (runs before main) Sets TESTING environment variable so libraries can detect test mode at runtime. This provides a fallback for when tests are run directly (not via ctest). CTest also sets TESTING=1 via set_tests_properties() in Tests.cmake. Also initializes the options RCU system so tests can use options_get().
Definition at line 21 of file globals.c.
References options_state_init(), and platform_setenv().
| atomic_bool g_should_exit = false |
Global shutdown flag referenced by lib/logging.c and lib/debug/lock.c In production builds, this is defined in main.c and set during shutdown. For tests, we stub it out as false (tests don't perform shutdown).