xref: /third_party/rust/crates/nix/test/sys/mod.rs (revision 3da5c369)
1mod test_signal;
2
3// NOTE: DragonFly lacks a kernel-level implementation of Posix AIO as of
4// this writing. There is an user-level implementation, but whether aio
5// works or not heavily depends on which pthread implementation is chosen
6// by the user at link time. For this reason we do not want to run aio test
7// cases on DragonFly.
8#[cfg(any(
9    target_os = "freebsd",
10    target_os = "ios",
11    all(target_os = "linux", not(target_env = "uclibc")),
12    target_os = "macos",
13    target_os = "netbsd"
14))]
15mod test_aio;
16#[cfg(not(any(
17    target_os = "redox",
18    target_os = "fuchsia",
19    target_os = "haiku"
20)))]
21mod test_ioctl;
22#[cfg(not(target_os = "redox"))]
23mod test_mman;
24#[cfg(not(target_os = "redox"))]
25mod test_select;
26#[cfg(target_os = "linux")]
27mod test_signalfd;
28#[cfg(not(any(target_os = "redox", target_os = "haiku")))]
29mod test_socket;
30#[cfg(not(any(target_os = "redox")))]
31mod test_sockopt;
32mod test_stat;
33#[cfg(any(target_os = "android", target_os = "linux"))]
34mod test_sysinfo;
35#[cfg(not(any(
36    target_os = "redox",
37    target_os = "fuchsia",
38    target_os = "haiku"
39)))]
40mod test_termios;
41mod test_uio;
42mod test_wait;
43
44#[cfg(any(target_os = "android", target_os = "linux"))]
45mod test_epoll;
46#[cfg(target_os = "linux")]
47mod test_inotify;
48mod test_pthread;
49#[cfg(any(
50    target_os = "android",
51    target_os = "dragonfly",
52    target_os = "freebsd",
53    target_os = "linux",
54    target_os = "macos",
55    target_os = "netbsd",
56    target_os = "openbsd"
57))]
58mod test_ptrace;
59#[cfg(any(target_os = "android", target_os = "linux"))]
60mod test_timerfd;
61