Skip to content

Commit

Permalink
Fix compilation conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Dec 19, 2024
1 parent 2efe796 commit 868e29f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/viewer/re_component_ui/tests/test_all_components_ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@ fn test_single_component_ui_as_list_item(
harness.run();

//TODO(#8245): enable this everywhere when we have a software renderer setup
#[cfg(target_os = "macos")]
return harness.try_wgpu_snapshot_options(&format!("{test_case}"), _snapshot_options);

#[cfg(not(target_os = "macos"))]
Ok(())
if cfg!(target_os = "macos") {
harness.try_wgpu_snapshot_options(&format!("{test_case}"), _snapshot_options)
} else {
Ok(())
}
}

// ---
Expand Down

0 comments on commit 868e29f

Please sign in to comment.