1 mod 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     apple_targets,
11     all(target_os = "linux", not(target_env = "uclibc")),
12     target_os = "netbsd"
13 ))]
14 mod test_aio;
15 #[cfg(not(any(
16     target_os = "redox",
17     target_os = "fuchsia",
18     target_os = "haiku",
19     target_os = "hurd"
20 )))]
21 mod test_ioctl;
22 #[cfg(not(target_os = "redox"))]
23 mod test_mman;
24 #[cfg(not(target_os = "redox"))]
25 mod test_select;
26 #[cfg(target_os = "linux")]
27 mod test_signalfd;
28 #[cfg(not(any(target_os = "redox", target_os = "haiku")))]
29 mod test_socket;
30 #[cfg(not(any(target_os = "redox")))]
31 mod test_sockopt;
32 mod test_stat;
33 #[cfg(linux_android)]
34 mod test_sysinfo;
35 #[cfg(not(any(
36     target_os = "redox",
37     target_os = "fuchsia",
38     target_os = "haiku"
39 )))]
40 mod test_termios;
41 mod test_uio;
42 mod test_wait;
43 
44 #[cfg(linux_android)]
45 mod test_epoll;
46 #[cfg(target_os = "linux")]
47 mod test_fanotify;
48 #[cfg(target_os = "linux")]
49 mod test_inotify;
50 mod test_pthread;
51 
52 #[cfg(any(linux_android, freebsdlike, netbsdlike, apple_targets))]
53 mod test_ptrace;
54 #[cfg(linux_android)]
55 mod test_timerfd;
56 
57 #[cfg(all(
58     any(
59         target_os = "freebsd",
60         solarish,
61         target_os = "linux",
62         target_os = "netbsd"
63     ),
64     feature = "time",
65     feature = "signal"
66 ))]
67 mod test_timer;
68 
69 #[cfg(bsd)]
70 mod test_event;
71 mod test_statvfs;
72 mod test_time;
73 mod test_utsname;
74 
75 #[cfg(any(linux_android, freebsdlike, apple_targets, target_os = "openbsd"))]
76 mod test_statfs;
77 
78 #[cfg(not(any(
79     target_os = "redox",
80     target_os = "fuchsia",
81     solarish,
82     target_os = "haiku"
83 )))]
84 mod test_resource;
85