Files
vectorcraft/crates/text
dotCooCoo 0a9d0ad950 Tests: hold the font scan in a lister so the menu list test runs on the new craft-libs
The craft-libs revision this branch moves to skips any font file that is
not a regular file (craft-libs adb8c1c2, font-catalog `Catalog::rescan`),
so the scan never opened the named pipe that
`the_menu_family_list_now_does_not_wait_for_the_scan` used to hold it.
The test's release thread then blocked opening the pipe for writing with
no reader, and gate shard 5/6 ran the test for over two hours before the
job was canceled.

The test now holds the scan in a file lister added by a test-only
constructor, `FontDb::with_font_dirs_and_scan_hook`. The lister reports
that the scan started and waits until the lookups under test return. A
lookup that waits for the scan makes the lister give up after 120 s and
the test fails on that record instead of hanging. The test no longer
needs `mkfifo`, so it runs on every platform. Its assertions are
unchanged.
2026-12-01 02:36:05 -08:00
..