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/webgpu_test_fixture.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/tests/webgpu_test_fixture.cc') diff --git a/src/tests/webgpu_test_fixture.cc b/src/tests/webgpu_test_fixture.cc index 980572a..afb7ce3 100644 --- a/src/tests/webgpu_test_fixture.cc +++ b/src/tests/webgpu_test_fixture.cc @@ -2,8 +2,6 @@ // It implements shared WebGPU initialization for GPU tests. // Provides graceful fallback if GPU unavailable. -#if !defined(STRIP_ALL) // Test code only - zero size impact on final binary - #include "webgpu_test_fixture.h" #include #include @@ -141,5 +139,3 @@ void WebGPUTestFixture::shutdown() { instance_ = nullptr; } } - -#endif /* !defined(STRIP_ALL) */ -- cgit v1.2.3