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/effect_test_helpers.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/tests/effect_test_helpers.cc') diff --git a/src/tests/effect_test_helpers.cc b/src/tests/effect_test_helpers.cc index 8183362..9250366 100644 --- a/src/tests/effect_test_helpers.cc +++ b/src/tests/effect_test_helpers.cc @@ -2,8 +2,6 @@ // It implements reusable test helpers for GPU effect testing. // Provides pixel validation and lifecycle testing utilities. -#if !defined(STRIP_ALL) // Test code only - zero size impact on final binary - #include "effect_test_helpers.h" #include "gpu/effect.h" #include @@ -110,5 +108,3 @@ bool test_effect_render_smoke(Effect* effect) { return true; // Smoke test passed (no crash) } - -#endif /* !defined(STRIP_ALL) */ -- cgit v1.2.3