Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

Render: gate bundled studio-data tests in isolated engine builds (#5493) (#6202)

selune16230349732e
diff --git a/crates/engine/src/cmd/render/studio_presets_tests.rs b/crates/engine/src/cmd/render/studio_presets_tests.rs
index 92b6a8f880..cf63ef8097 100644
--- a/crates/engine/src/cmd/render/studio_presets_tests.rs
+++ b/crates/engine/src/cmd/render/studio_presets_tests.rs
@@ -10,6 +10,7 @@ fn subject() -> Session {
.unwrap();
s
}
+#[cfg(feature = "bundled-render-library")]
#[test]
fn native_studios_resolve_without_mutation_and_apply_one_complete_undo() {
let entries = super::entries();
@@ -126,6 +127,7 @@ fn quality_projection_never_claims_adaptive_or_unbounded_profiles() {
assert!(s.execute("render.quality.prepare", &json!({"id":"Q-002","variant":"fixed_samples_png","acknowledge_omissions":false})).is_err());
assert_eq!(s.doc.to_json(), before);
}
+#[cfg(feature = "bundled-render-library")]
#[test]
fn resource_availability_and_original_previews_are_bounded_and_nonmutating() {
let mut s = subject();