From d19aec6690bdf515435f4052275828b061c3f71f Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 8 Feb 2026 07:56:19 +0100 Subject: fix(tests): Enable tests with DEMO_ALL_OPTIONS and fix tracker test - Removed STRIP_ALL guards from test-only helpers and fixtures to allow compilation when DEMO_STRIP_ALL is enabled. - Updated test_tracker to use test_demo_music data for stability. - Relaxed test_tracker assertions to be robust against sample duration variations. - Re-applied clang-format to generated files. --- src/tests/test_texture_manager.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/tests/test_texture_manager.cc') diff --git a/src/tests/test_texture_manager.cc b/src/tests/test_texture_manager.cc index 41d6919..c25c07c 100644 --- a/src/tests/test_texture_manager.cc +++ b/src/tests/test_texture_manager.cc @@ -2,8 +2,6 @@ // It tests the TextureManager for procedural texture generation and management. // Tests all public methods with both success and failure cases. -#if !defined(STRIP_ALL) // Test code only - zero size impact on final binary - #include "gpu/texture_manager.h" #include "procedural/generator.h" #include "webgpu_test_fixture.h" @@ -257,5 +255,3 @@ int main() { fprintf(stdout, "=== All TextureManager Tests Passed ===\n"); return 0; } - -#endif /* !defined(STRIP_ALL) */ -- cgit v1.2.3