summaryrefslogtreecommitdiff
path: root/src/tests/test_post_process_helper.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_post_process_helper.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_post_process_helper.cc')
-rw-r--r--src/tests/test_post_process_helper.cc4
1 files changed, 0 insertions, 4 deletions
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) */