From 5139e04c2cb3c98ba614d19bf5eabb1b7bcc5fd5 Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Thu, 15 Oct 2026 21:29:48 +0300 Subject: [PATCH] test: UI snapshot tests render with tiny-skia iced_test renders headless through wgpu by default. Several test threads opening GPU devices at once crashed the driver: about every other parallel `cargo test --lib` run died with SIGSEGV, always with the color picker, ribbon, overlay and dock UI tests running together. With ICED_TEST_BACKEND=tiny-skia the suite passes run after run. Co-Authored-By: Claude Opus 5.5 --- .cargo/config.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index b3e368cb6..91d9f29d2 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -34,4 +34,8 @@ rustflags = [ # compiling this crate in release on Windows/macOS. [env] RUST_MIN_STACK = "67108864" +# UI tests render through iced_test, which picks wgpu by default. Several +# test threads opening GPU devices at once crash the driver (SIGSEGV, about +# every other parallel `cargo test` run); the software renderer is safe. +ICED_TEST_BACKEND = "tiny-skia"