summaryrefslogtreecommitdiff
path: root/src/tests/test_texture_manager.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-08 07:56:19 +0100
committerskal <pascal.massimino@gmail.com>2026-02-08 07:56:19 +0100
commitd19aec6690bdf515435f4052275828b061c3f71f (patch)
tree0f86391c020a6d223ccd4a46ccc9c45aa87fe866 /src/tests/test_texture_manager.cc
parentc9195f997f3e797f03ab90464e4158717198a167 (diff)
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.
Diffstat (limited to 'src/tests/test_texture_manager.cc')
-rw-r--r--src/tests/test_texture_manager.cc4
1 files changed, 0 insertions, 4 deletions
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) */