summaryrefslogtreecommitdiff
path: root/test/test.rs
diff options
context:
space:
mode:
authorThibaut Ackermann <thibaut@ackermann.dev>2019-10-30 21:55:27 +0100
committerThibaut Ackermann <thibaut@ackermann.dev>2019-11-21 08:36:53 +0100
commit18c20381b094d7d8273d1a961052c22493c6b21c (patch)
tree45d85c77d0e616e221f380ad2125a68b0e878165 /test/test.rs
parent3c7a23b52d238bd502392883a55c5b792af3a05e (diff)
downloadnix-18c20381b094d7d8273d1a961052c22493c6b21c.zip
Implement sched::sched_getaffinity()
sched_getaffinity(2) get a process's CPU affinity mask
Diffstat (limited to 'test/test.rs')
-rw-r--r--test/test.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.rs b/test/test.rs
index 24260500..4b13fa44 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -119,6 +119,9 @@ mod test_nix_path;
mod test_poll;
mod test_pty;
#[cfg(any(target_os = "android",
+ target_os = "linux"))]
+mod test_sched;
+#[cfg(any(target_os = "android",
target_os = "freebsd",
target_os = "ios",
target_os = "linux",