summaryrefslogtreecommitdiff
path: root/src/tests/effect_test_helpers.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/effect_test_helpers.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/effect_test_helpers.cc')
-rw-r--r--src/tests/effect_test_helpers.cc4
1 files changed, 0 insertions, 4 deletions
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 <cassert>
@@ -110,5 +108,3 @@ bool test_effect_render_smoke(Effect* effect) {
return true; // Smoke test passed (no crash)
}
-
-#endif /* !defined(STRIP_ALL) */