Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

test(create-3d): the Mac Blender lookups are tested on Unix only

purple0d93baa90401
diff --git a/src-tauri/src/commands/blender.rs b/src-tauri/src/commands/blender.rs
index b6c8584a..ac3b30d1 100644
--- a/src-tauri/src/commands/blender.rs
+++ b/src-tauri/src/commands/blender.rs
@@ -749,6 +749,8 @@ mod tests {
app
}
+ // Mac paths use '/', so these run on Unix only (Windows CI would fail them).
+ #[cfg(unix)]
#[test]
fn mac_finds_blender_bundles_and_nothing_that_only_has_the_name() {
let t = tmp();
@@ -764,6 +766,8 @@ mod tests {
assert_eq!(mac_plist_version(&found[0].exe).as_deref(), Some("5.2.1"));
}
+ // Mac paths use '/', so these run on Unix only (Windows CI would fail them).
+ #[cfg(unix)]
#[test]
fn mac_skips_spotlight_hits_in_the_trash_or_on_a_disk_image() {
let t = tmp();