You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of the roadmap meta issue. Requires Phase 2 (cross-platform CI) and Phase 3 (dstr, bmem).
Context
file-serializer.c, buffered-file-serializer.c, config-file.c, platform.c, platform-nix*.c, platform-windows.c, threading-posix.c/-windows.c, pipe*.c, task.c, profiler.c, source-profiler.c. They touch the filesystem, threads, processes and per-OS APIs, so tests must be deterministic and Tier 2 must pass on all three OSes.
Proposal
Characterization cmocka tests first, using a per-test temp directory. No sleeps: synchronize on events/semaphores.
Tier 3 parity for I/O code runs both implementations against separate temp dirs and compares the resulting files byte for byte, plus return values.
Platform files are ported per OS. A port isn't done until that OS's Tier 2 passes in CI.
Threading and task: add a loom or stress-style Rust test on top of the parity tests.
Acceptance criteria
Characterization tests merged before each port; deterministic (100 consecutive CI runs with no flakes for threading tests).
Each port: RED → GREEN, Tier 2 OFF/ON on Linux, Windows, macOS, Tier 3 parity, mutation check.
config-file: round-trip parity on arbitrary INI input, including malformed lines.
Exported-symbol sets identical OFF vs ON on every OS.
Activity
fix(test): cast const array for qsort in test_platform to avoid MSVC …
Merge pull request #38 from obs-rust/grind/7-phase4-characterization
zackees commentedon Oct 9, 2026
Landed on feature branch grind/meta-4-9b41 via #38; closes when feature PR #33 merges into master.
zackees commentedon Oct 9, 2026
Closed by feature PR #33, but this phase landed only partially. The remaining work is tracked in #44 (a sub-issue of #4).
test(libobs): Phase 4 characterization tests for stateful, I/O and pl…
style(test): clang-format Phase 4 characterization tests (obs-rust#7)
test: Cover SourceFilterSettingsChanged for filter changes
test: Cover SourceFilterSettingsChanged for filter changes (obs-rust#747
obs-websocket: Include the screenshot MIME declaration