Skip to content

Commit

Permalink
Add cfg directive back
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik Uthaman committed Jan 29, 2025
1 parent 93f9488 commit 306042c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,10 @@ fn test_refresh_process_doesnt_remove() {

// Checks that `refresh_processes` is adding and removing task.
#[test]
#[cfg(all(
any(target_os = "linux", target_os = "android"),
not(feature = "unknown-ci")
))]
fn test_refresh_tasks() {
// Skip if unsupported.
if !sysinfo::IS_SUPPORTED_SYSTEM || cfg!(feature = "apple-sandbox") {
Expand Down

0 comments on commit 306042c

Please sign in to comment.