Skip to content

Commit 5b6c224

Browse files
committed
exclude ohos from test
1 parent aa916e4 commit 5b6c224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_sched.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn test_sched_affinity() {
4343
sched_setaffinity(Pid::from_raw(0), &initial_affinity).unwrap();
4444
}
4545

46-
#[cfg(not(target_env = "musl"))]
46+
#[cfg(any(not(target_env = "musl"), not(target_env = "ohos")))]
4747
#[test]
4848
fn test_sched_priority() {
4949
let pid = Pid::from_raw(0);

0 commit comments

Comments
 (0)