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/webgpu_test_fixture.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/webgpu_test_fixture.cc')
| -rw-r--r-- | src/tests/webgpu_test_fixture.cc | 4 |
1 files changed, 0 insertions, 4 deletions
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 <cstdio> #include <cstdlib> @@ -141,5 +139,3 @@ void WebGPUTestFixture::shutdown() { instance_ = nullptr; } } - -#endif /* !defined(STRIP_ALL) */ |
