diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-08 07:56:19 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-08 07:56:19 +0100 |
| commit | d19aec6690bdf515435f4052275828b061c3f71f (patch) | |
| tree | 0f86391c020a6d223ccd4a46ccc9c45aa87fe866 /src/tests/test_demo_effects.cc | |
| parent | c9195f997f3e797f03ab90464e4158717198a167 (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_demo_effects.cc')
| -rw-r--r-- | src/tests/test_demo_effects.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tests/test_demo_effects.cc b/src/tests/test_demo_effects.cc index 3c40bc5..a5500a8 100644 --- a/src/tests/test_demo_effects.cc +++ b/src/tests/test_demo_effects.cc @@ -11,8 +11,6 @@ // 4. If the effect requires Renderer3D, add it to requires_3d check in // test_scene_effects() -#if !defined(STRIP_ALL) // Test code only - zero size impact on final binary - // Expected effect counts - UPDATE THESE when adding new effects! static constexpr int EXPECTED_POST_PROCESS_COUNT = 8; // FlashEffect, PassthroughEffect, GaussianBlurEffect, @@ -235,5 +233,3 @@ int main() { fprintf(stdout, "=== All Demo Effects Tests Passed ===\n"); return 0; } - -#endif /* !defined(STRIP_ALL) */ |
