Repository navigation
test/cmocka: Batch six characterization tests before their ports - #2508
Conversation
|
Coordinator review: six new characterization tests for units that will be ported, Tier 2 only, marked 'characterized, not endorsed', with no Rust and no product code. Batching them saves five build invalidations. No existing test is touched, and local Tier 2 passed 561/561 on hybrid and the C reference. Queuing; it merges when CI is green. |
|
Fast Gate fails within a minute (job 121725689370). The log isn't out until the run finishes, but a failure that early on about 2,800 new C lines is usually clang-format. Running |
|
Confirmed: Fast Gate is clang-format, |
|
I pushed a |
Pins current C behavior for obs-data, hotkey getters, core info, platform fs, encoder/output getters and scene/canvas/transition getters in one PR, so the build invalidation they cause lands once instead of per unit.
da0c128 to
66850d8
Compare
… path #2508's test_find_data_file expected NULL for a missing file. On macOS, find_libobs_data_file (libobs/obs-cocoa.m.h) returns the framework's Resources path without checking it, so the case failed on macos-26 (test_obs_core_info_characterization.c:154). Record that and skip the data-path checks there.
…st#2534) * test/cmocka: Skip test_graphics_state_stacks_rust on MSVC (LNK2005) * test/cmocka: Characterize obs_find_data_file's unchecked macOS bundle path obs-rust#2508's test_find_data_file expected NULL for a missing file. On macOS, find_libobs_data_file (libobs/obs-cocoa.m.h) returns the framework's Resources path without checking it, so the case failed on macos-26 (test_obs_core_info_characterization.c:154). Record that and skip the data-path checks there. * fixup: keep the plain if(TARGET libobs_rust-static) guard ci/test_cmocka_rust_static_guard.py recognizes only that form.
Collects the build invalidation from characterization tests into one PR instead of one per unit.
New cmocka tests (characterized, not endorsed; no Rust): obs-data, hotkey getters (isolated core), core info, platform fs, encoder/output getters, scene/canvas/transition getters.
Local Tier 2 (
ci/local_gate.py --lane tier2-linux): 561/561 passed against both hybrid libobs and the C reference;./lintclean.