S003: first launch on Xvfb, smoke harness, epaint glyph panic and quit segfault fixed

- tools/smoke.sh + tests/smoke/{launch,https,restore}.txt: hidden Xvfb run with a throwaway home
- vendor/epaint: render glyphs single-threaded (Servo enables vello_cpu/multithreading), D-006
- App::quit drops every Servo handle before the GL contexts, so Servo shuts down cleanly
- D-005: smoke runs use Xvfb

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-11 18:01:15 -06:00
commit a97abc1711

View file

@ -299,6 +299,17 @@ pub fn visuals(p: &Palette, corner_radius: u8) -> Visuals {
mod tests {
use super::*;
/// epaint 0.37.0 panicked rasterizing glyphs once Servo turned on vello_cpu's multithreading
/// (vendor/epaint patch). Laying out text renders glyphs.
#[test]
fn egui_draws_text() {
let ctx = egui::Context::default();
let output = ctx.run_ui(Default::default(), |ui| {
ui.label("Nacre");
});
assert!(!output.shapes.is_empty());
}
#[test]
fn colours() {
assert_eq!(parse_hex("#6750A4"), Some(Color32::from_rgb(0x67, 0x50, 0xA4)));