test(libcairo): verify repeated null free and single-glyph immutability #18969
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18969"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by al3w0f205 on 2026-11-12T16:15:20Z.
What
GuestCairoGlyph.cppto test repeatedcairo_glyph_free(nullptr)calls and verify a single foreigncairo_glyph_tthrows without mutating its fields.Tested
guest_cairo_glyph_testsand ranctest --test-dir build-all -R "^guest_cairo_glyph$" --output-on-failure(1/1passed).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-12T18:41:25Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
99c832c4f4:tools/check_conventions.pypassed;git diff --checkclean.guest_cairo_glyph_testsbuilt cleanly.guest_cairo_glyph):Looks Good To Me