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_post_process_helper.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/tests/test_post_process_helper.cc') diff --git a/src/tests/test_post_process_helper.cc b/src/tests/test_post_process_helper.cc index c009bc2..7078c6e 100644 --- a/src/tests/test_post_process_helper.cc +++ b/src/tests/test_post_process_helper.cc @@ -2,8 +2,6 @@ // It tests post-processing helper functions (pipeline and bind group creation). // Validates that helpers can create valid WebGPU resources. -#if !defined(STRIP_ALL) // Test code only - zero size impact on final binary - #include "gpu/demo_effects.h" #include "gpu/gpu.h" #include "offscreen_render_target.h" @@ -287,5 +285,3 @@ int main() { fprintf(stdout, "=== All Post-Process Helper Tests Passed ===\n"); return 0; } - -#endif /* !defined(STRIP_ALL) */ -- cgit v1.2.3