forked from 1b-agent/opencadstudio-upstream
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 <[email protected]>
This commit is contained in:
1 parent
19cc2e1073
commit
5139e04c2c
1 file changed
+4
@@ -34,4 +34,8 @@ rustflags = [
|
|||||||
# compiling this crate in release on Windows/macOS.
|
# compiling this crate in release on Windows/macOS.
|
||||||
[env]
|
[env]
|
||||||
RUST_MIN_STACK = "67108864"
|
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"
|
||||||
|
|
||||||
Reference in new issue
Block a user