blob: cf4e673b4eb6a8c08e0474d3c970a169ce17180e [file] [log] [blame]
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +00001# Automake input for strace tests.
Dmitry V. Levin38a34c92015-12-17 17:56:48 +00002#
Dmitry V. Levin10eab9d2016-01-01 23:09:02 +00003# Copyright (c) 2011-2016 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin38a34c92015-12-17 17:56:48 +00004# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:
9# 1. Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer.
11# 2. Redistributions in binary form must reproduce the above copyright
12# notice, this list of conditions and the following disclaimer in the
13# documentation and/or other materials provided with the distribution.
14# 3. The name of the author may not be used to endorse or promote products
15# derived from this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +000027
Dmitry V. Levin25c804c2015-04-07 21:18:23 +000028OS = linux
29ARCH = @arch@
Dmitry V. Levin10eab9d2016-01-01 23:09:02 +000030MPERS_NAME =
Dmitry V. Levin860b3a62015-12-08 00:14:10 +000031ARCH_MFLAGS =
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +000032AM_CFLAGS = $(WARN_CFLAGS)
Dmitry V. Levin860b3a62015-12-08 00:14:10 +000033AM_CPPFLAGS = $(ARCH_MFLAGS) \
Dmitry V. Levinbab4ef42015-12-10 02:06:25 +000034 -I$(builddir) \
Dmitry V. Levin860b3a62015-12-08 00:14:10 +000035 -I$(top_builddir)/$(OS)/$(ARCH) \
Dmitry V. Levin0f4ad302015-02-22 02:13:04 +000036 -I$(top_srcdir)/$(OS)/$(ARCH) \
37 -I$(top_builddir)/$(OS) \
Dmitry V. Levincf3ecbd2015-08-26 22:50:58 +000038 -I$(top_srcdir)/$(OS) \
39 -I$(top_builddir) \
40 -I$(top_srcdir)
Dmitry V. Levin860b3a62015-12-08 00:14:10 +000041AM_LDFLAGS = $(ARCH_MFLAGS)
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +000042
Dmitry V. Levin87e6b232016-01-02 12:05:14 +000043libtests_a_SOURCES = \
Dmitry V. Levin87e6b232016-01-02 12:05:14 +000044 error_msg.c \
Dmitry V. Levin590b2402016-01-20 05:26:43 +000045 get_page_size.c \
46 hexdump_strdup.c \
Dmitry V. Levin87e6b232016-01-02 12:05:14 +000047 tail_alloc.c \
48 tests.h \
Dmitry V. Levin536a0352016-01-20 02:06:59 +000049 tprintf.c \
Dmitry V. Levin87e6b232016-01-02 12:05:14 +000050 # end of libtests_a_SOURCES
51libtests_a_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
52check_LIBRARIES = libtests.a
53LDADD = libtests.a
54
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000055check_PROGRAMS = \
Dmitry V. Levin69b73072015-12-08 17:38:12 +000056 _newselect \
Dmitry V. Levindad1eef2015-09-16 21:58:36 +000057 adjtimex \
Dmitry V. Levin13c21732015-08-26 12:49:07 +000058 aio \
Dmitry V. Levinddb53dd2015-07-25 23:55:51 +000059 bpf \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000060 caps \
Dmitry V. Levinc648b4a2015-09-18 14:24:51 +000061 clock_nanosleep \
Dmitry V. Levin9d4c8922015-09-17 21:57:22 +000062 clock_xettime \
Dmitry V. Levinbf62c1b2015-08-01 23:04:32 +000063 epoll_create1 \
Dmitry V. Levinc8cba992015-08-01 21:08:13 +000064 eventfd \
Dmitry V. Levin4ff687b2015-07-27 10:02:33 +000065 execve \
Dmitry V. Levin7c221012015-07-26 11:06:53 +000066 execveat \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000067 fanotify_mark \
Dmitry V. Levin21547022015-12-05 00:52:01 +000068 fcntl \
69 fcntl64 \
Dmitry V. Levin4b3a1702015-11-22 21:29:32 +000070 file_handle \
Dmitry V. Levin4b80f342015-06-29 11:57:44 +000071 filter-unavailable \
Dmitry V. Levin78db0f22015-12-30 23:00:43 +000072 fork-f \
Dmitry V. Levinc8638272015-12-05 00:02:44 +000073 fstat \
74 fstat64 \
Dmitry V. Levinb0e61152015-12-02 01:02:39 +000075 fstatat64 \
Dmitry V. Levinc1bb87a2015-12-01 00:02:45 +000076 ftruncate \
Dmitry V. Levin431d63c2015-12-01 00:32:40 +000077 ftruncate64 \
Dmitry V. Levin7528a0b2015-11-19 16:39:32 +000078 getdents \
79 getdents64 \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000080 getrandom \
Dmitry V. Levin2720a612016-01-09 00:06:06 +000081 getxxid \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000082 inet-accept-connect-send-recv \
Dmitry V. Levin1f111cf2015-11-21 03:03:54 +030083 inet-cmsg \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +000084 ioctl \
Dmitry V. Levin7bee4622015-06-08 14:19:46 +000085 ip_mreq \
Dmitry V. Levin12e24422015-01-12 16:08:59 +000086 ipc_msg \
Elvira Khabirovab7699b52015-08-03 12:40:46 +030087 ipc_msgbuf \
Dmitry V. Levin12e24422015-01-12 16:08:59 +000088 ipc_sem \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000089 ipc_shm \
Dmitry V. Levinbab4ef42015-12-10 02:06:25 +000090 ksysent \
Dmitry V. Levin9db07972015-12-01 00:59:26 +000091 llseek \
92 lseek \
Dmitry V. Levin38e37682015-12-05 00:03:02 +000093 lstat \
94 lstat64 \
Dmitry V. Levin2aec1e62015-11-15 02:29:29 +000095 membarrier \
Dmitry V. Levin95b84ea2015-07-28 23:03:41 +000096 memfd_create \
Dmitry V. Levin0d0a50a2015-11-15 02:35:57 +000097 mlock2 \
Dmitry V. Levine7d671b2015-03-19 22:03:32 +000098 mmap \
99 mmap64 \
Masatake YAMATO993198d2014-11-07 01:23:27 +0900100 mmsg \
Elvira Khabirova422f7932015-08-19 05:28:48 +0300101 mq \
Dmitry V. Levin593602c2015-09-18 02:18:03 +0000102 nanosleep \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +0000103 net-accept-connect \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000104 netlink_inet_diag \
Dmitry V. Levin6b5df322014-12-25 00:11:40 +0000105 netlink_unix_diag \
Dmitry V. Levinb0e61152015-12-02 01:02:39 +0000106 newfstatat \
Dmitry V. Levinea7ef932015-07-30 08:24:32 +0000107 oldselect \
Dmitry V. Levine96cb622015-02-15 15:52:02 +0000108 pc \
Dmitry V. Levinf7423af2015-12-25 00:52:42 +0000109 personality \
Dmitry V. Levin78ed3f32015-03-23 00:04:27 +0000110 pipe \
Dmitry V. Levind9fb4502015-07-30 19:46:11 +0000111 ppoll \
Dmitry V. Levin77a1b6b2015-09-15 02:14:38 +0000112 pselect6 \
Dmitry V. Levin4f461582015-11-19 19:04:32 +0000113 readdir \
Gleb Fotengauer-Malinovskiy3af6aab2015-08-14 17:49:27 +0200114 readlink \
115 readlinkat \
Dmitry V. Levin640623c2015-09-18 11:27:11 +0000116 restart_syscall \
Elvira Khabirova3b7674c2015-08-21 18:49:14 +0300117 rt_sigqueueinfo \
Dmitry V. Levin6bf08e32016-01-07 00:31:33 +0000118 sched_xetaffinity \
Dmitry V. Levin3456bcc2015-07-29 07:59:56 +0000119 sched_xetattr \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +0000120 scm_rights \
Dmitry V. Levin485f8fb2015-03-19 00:40:49 +0000121 seccomp \
Dmitry V. Levine837b142015-02-04 02:09:52 +0000122 select \
Dmitry V. Levin49182852015-08-19 01:25:39 +0000123 sendfile \
124 sendfile64 \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +0000125 set_ptracer_any \
126 sigaction \
Elvira Khabirova10020ae2015-07-17 04:45:25 +0300127 sigaltstack \
Dmitry V. Levin30ac0622015-08-03 09:47:25 +0000128 signalfd \
Dmitry V. Levin30bcb792015-03-04 12:31:18 +0000129 sigreturn \
Masatake YAMATO96821072014-05-14 13:16:29 +0900130 stack-fcall \
Dmitry V. Levin7b010142015-01-07 19:30:37 +0000131 stat \
Dmitry V. Levin144a9db2015-12-05 00:03:49 +0000132 stat64 \
Dmitry V. Levin4176d532014-09-21 22:42:45 +0000133 statfs \
Elvira Khabirova22d997e2015-08-03 06:30:49 +0300134 sysinfo \
Dmitry V. Levinf9b455c2015-08-18 13:25:36 +0000135 time \
Dmitry V. Levinb8f0c922015-09-16 16:31:43 +0000136 timer_create \
Dmitry V. Levin13140982015-09-17 18:25:12 +0000137 timer_xettime \
Dmitry V. Levin79cafcd2015-09-17 20:05:20 +0000138 timerfd_xettime \
Eugene Syromyatnikov7a036052015-08-04 15:52:55 +0300139 times \
Elvira Khabirova9d77b562015-08-21 00:09:32 +0300140 times-fail \
Dmitry V. Levinc1bb87a2015-12-01 00:02:45 +0000141 truncate \
Dmitry V. Levin431d63c2015-12-01 00:32:40 +0000142 truncate64 \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +0000143 uid \
Dmitry V. Levin80f7db12014-12-13 21:49:01 +0000144 uid16 \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +0000145 uid32 \
Dmitry V. Levin495f5252015-02-01 00:20:32 +0000146 uio \
Dmitry V. Levin08a17832015-12-07 00:06:35 +0000147 umount \
148 umount2 \
Dmitry V. Levin48321342015-03-31 18:52:57 +0000149 umovestr \
150 umovestr2 \
Dmitry V. Levinb60b2a52015-07-15 00:09:08 +0000151 unix-pair-send-recv \
Dmitry V. Levina6ebdb12015-11-15 02:22:44 +0000152 userfaultfd \
Dmitry V. Levind27ccca2015-07-15 09:02:17 +0000153 utime \
Dmitry V. Levin78e48eb2015-07-15 15:34:59 +0000154 utimensat \
Dmitry V. Levin78db0f22015-12-30 23:00:43 +0000155 vfork-f \
Dmitry V. Levincde9ef72015-07-15 01:50:27 +0000156 wait \
Dmitry V. Levin41b9fac2015-08-18 19:21:36 +0000157 xattr \
158 xet_robust_list \
Dmitry V. Levin12431f72015-09-17 20:44:22 +0000159 xetitimer \
Dmitry V. Levinf57edf42015-09-18 16:15:49 +0000160 xettimeofday \
Dmitry V. Levin41b9fac2015-08-18 19:21:36 +0000161 # end of check_PROGRAMS
Dmitry V. Levincc3d5912014-04-16 23:28:29 +0000162
Dmitry V. Levin87e6b232016-01-02 12:05:14 +0000163clock_xettime_LDADD = -lrt $(LDADD)
164filter_unavailable_LDADD = -lpthread $(LDADD)
Dmitry V. Levin77c0cde2015-12-08 00:24:53 +0000165fstat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
166fstatat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
167ftruncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
168lstat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
169mmap64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levin87e6b232016-01-02 12:05:14 +0000170mq_LDADD = -lrt $(LDADD)
Dmitry V. Levin77c0cde2015-12-08 00:24:53 +0000171newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levin87e6b232016-01-02 12:05:14 +0000172pc_LDADD = $(dl_LIBS) $(LDADD)
Dmitry V. Levin77c0cde2015-12-08 00:24:53 +0000173stat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
174statfs_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levin87e6b232016-01-02 12:05:14 +0000175times_LDADD = -lrt $(LDADD)
Dmitry V. Levin77c0cde2015-12-08 00:24:53 +0000176truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
177uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levinb0764202014-06-16 21:45:52 +0000178stack_fcall_SOURCES = stack-fcall.c \
179 stack-fcall-0.c stack-fcall-1.c stack-fcall-2.c stack-fcall-3.c
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +0000180
Dmitry V. Levin10eab9d2016-01-01 23:09:02 +0000181if USE_LIBUNWIND
182LIBUNWIND_TESTS = strace-k.test
183else
184LIBUNWIND_TESTS =
185endif
186
Dmitry V. Levin123d4012014-02-02 15:20:11 +0000187TESTS = \
Dmitry V. Levin123d4012014-02-02 15:20:11 +0000188 strace-f.test \
189 qual_syscall.test \
Dmitry V. Levinbab4ef42015-12-10 02:06:25 +0000190 ksysent.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000191 \
Dmitry V. Levin69b73072015-12-08 17:38:12 +0000192 _newselect.test \
Dmitry V. Levindad1eef2015-09-16 21:58:36 +0000193 adjtimex.test \
Dmitry V. Levin13c21732015-08-26 12:49:07 +0000194 aio.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000195 bexecve.test \
Dmitry V. Levinddb53dd2015-07-25 23:55:51 +0000196 bpf.test \
Dmitry V. Levin4b9c68b2014-12-05 00:21:23 +0000197 caps.test \
Dmitry V. Levinc648b4a2015-09-18 14:24:51 +0000198 clock_nanosleep.test \
Dmitry V. Levin9d4c8922015-09-17 21:57:22 +0000199 clock_xettime.test \
Dmitry V. Levin495f5252015-02-01 00:20:32 +0000200 dumpio.test \
Dmitry V. Levinbf62c1b2015-08-01 23:04:32 +0000201 epoll_create1.test \
Dmitry V. Levinc8cba992015-08-01 21:08:13 +0000202 eventfd.test \
Dmitry V. Levin4ff687b2015-07-27 10:02:33 +0000203 execve.test \
Dmitry V. Levin7c221012015-07-26 11:06:53 +0000204 execveat.test \
Dmitry V. Levin1ea64732015-01-10 00:08:58 +0000205 fanotify_mark.test \
Dmitry V. Levin21547022015-12-05 00:52:01 +0000206 fcntl.test \
207 fcntl64.test \
Dmitry V. Levin4b3a1702015-11-22 21:29:32 +0000208 file_handle.test \
Dmitry V. Levin4b80f342015-06-29 11:57:44 +0000209 filter-unavailable.test \
Dmitry V. Levin78db0f22015-12-30 23:00:43 +0000210 fork-f.test \
Dmitry V. Levinc8638272015-12-05 00:02:44 +0000211 fstat.test \
212 fstat64.test \
Dmitry V. Levinb0e61152015-12-02 01:02:39 +0000213 fstatat64.test \
Dmitry V. Levinc1bb87a2015-12-01 00:02:45 +0000214 ftruncate.test \
Dmitry V. Levin431d63c2015-12-01 00:32:40 +0000215 ftruncate64.test \
Dmitry V. Levin68d64242014-09-10 00:07:32 +0000216 getdents.test \
Dmitry V. Levin7528a0b2015-11-19 16:39:32 +0000217 getdents64.test \
Dmitry V. Levinfef09072015-02-04 16:38:09 +0000218 getrandom.test \
Dmitry V. Levin2720a612016-01-09 00:06:06 +0000219 getxxid.test \
Dmitry V. Levin1f111cf2015-11-21 03:03:54 +0300220 inet-cmsg.test \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000221 ioctl.test \
Dmitry V. Levin7bee4622015-06-08 14:19:46 +0000222 ip_mreq.test \
Dmitry V. Levin12e24422015-01-12 16:08:59 +0000223 ipc_msg.test \
Elvira Khabirovab7699b52015-08-03 12:40:46 +0300224 ipc_msgbuf.test \
Dmitry V. Levin12e24422015-01-12 16:08:59 +0000225 ipc_sem.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000226 ipc_shm.test \
Dmitry V. Levin9db07972015-12-01 00:59:26 +0000227 llseek.test \
228 lseek.test \
Dmitry V. Levin38e37682015-12-05 00:03:02 +0000229 lstat.test \
230 lstat64.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000231 membarrier.test \
232 memfd_create.test \
233 mlock2.test \
234 mmap.test \
235 mmap64.test \
236 mmsg.test \
Elvira Khabirova422f7932015-08-19 05:28:48 +0300237 mq.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000238 nanosleep.test \
239 net-fd.test \
240 net-yy.test \
241 net.test \
242 newfstatat.test \
243 oldselect.test \
244 pc.test \
Dmitry V. Levinf7423af2015-12-25 00:52:42 +0000245 personality.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000246 pipe.test \
247 ppoll.test \
Dmitry V. Levin77a1b6b2015-09-15 02:14:38 +0000248 pselect6.test \
Dmitry V. Levin4f461582015-11-19 19:04:32 +0000249 readdir.test \
Gleb Fotengauer-Malinovskiy3af6aab2015-08-14 17:49:27 +0200250 readlink.test \
251 readlinkat.test \
Elvira Khabirova3b7674c2015-08-21 18:49:14 +0300252 rt_sigqueueinfo.test \
Dmitry V. Levin6bf08e32016-01-07 00:31:33 +0000253 sched_xetaffinity.test \
Dmitry V. Levin3456bcc2015-07-29 07:59:56 +0000254 sched_xetattr.test \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +0000255 scm_rights-fd.test \
Dmitry V. Levin485f8fb2015-03-19 00:40:49 +0000256 seccomp.test \
Dmitry V. Levine837b142015-02-04 02:09:52 +0000257 select.test \
Dmitry V. Levin49182852015-08-19 01:25:39 +0000258 sendfile.test \
259 sendfile64.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +0000260 sigaction.test \
Elvira Khabirova10020ae2015-07-17 04:45:25 +0300261 sigaltstack.test \
Dmitry V. Levin30ac0622015-08-03 09:47:25 +0000262 signalfd.test \
Dmitry V. Levin30bcb792015-03-04 12:31:18 +0000263 sigreturn.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +0000264 stat.test \
Dmitry V. Levin144a9db2015-12-05 00:03:49 +0000265 stat64.test \
Dmitry V. Levin4176d532014-09-21 22:42:45 +0000266 statfs.test \
Dmitry V. Levinc9e24182015-01-29 15:19:21 +0000267 sun_path.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000268 sysinfo.test \
Dmitry V. Levinf9b455c2015-08-18 13:25:36 +0000269 time.test \
Dmitry V. Levinb8f0c922015-09-16 16:31:43 +0000270 timer_create.test \
Dmitry V. Levin13140982015-09-17 18:25:12 +0000271 timer_xettime.test \
Dmitry V. Levin79cafcd2015-09-17 20:05:20 +0000272 timerfd_xettime.test \
Elvira Khabirova9d77b562015-08-21 00:09:32 +0300273 times-fail.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000274 times.test \
Dmitry V. Levinc1bb87a2015-12-01 00:02:45 +0000275 truncate.test \
Dmitry V. Levin431d63c2015-12-01 00:32:40 +0000276 truncate64.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000277 uid.test \
278 uid16.test \
279 uid32.test \
280 uio.test \
Dmitry V. Levin08a17832015-12-07 00:06:35 +0000281 umount.test \
282 umount2.test \
Dmitry V. Levin48321342015-03-31 18:52:57 +0000283 umovestr.test \
284 umovestr2.test \
Masatake YAMATO6077ad82014-12-24 20:59:32 +0900285 unix-yy.test \
Dmitry V. Levina6ebdb12015-11-15 02:22:44 +0000286 userfaultfd.test \
Dmitry V. Levind27ccca2015-07-15 09:02:17 +0000287 utime.test \
Dmitry V. Levin78e48eb2015-07-15 15:34:59 +0000288 utimensat.test \
Dmitry V. Levin78db0f22015-12-30 23:00:43 +0000289 vfork-f.test \
Dmitry V. Levincde9ef72015-07-15 01:50:27 +0000290 wait.test \
Dmitry V. Levinb60b2a52015-07-15 00:09:08 +0000291 xattr.test \
Dmitry V. Levin41b9fac2015-08-18 19:21:36 +0000292 xet_robust_list.test \
Dmitry V. Levin12431f72015-09-17 20:44:22 +0000293 xetitimer.test \
Dmitry V. Levinf57edf42015-09-18 16:15:49 +0000294 xettimeofday.test \
Dmitry V. Levin718990f2015-12-08 17:33:52 +0000295 \
Dmitry V. Levin772e32b2014-05-29 21:14:14 +0000296 count.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +0000297 detach-sleeping.test \
298 detach-stopped.test \
Masatake YAMATO96821072014-05-14 13:16:29 +0900299 detach-running.test \
Dmitry V. Levin25c804c2015-04-07 21:18:23 +0000300 restart_syscall.test \
Dmitry V. Levin10eab9d2016-01-01 23:09:02 +0000301 $(LIBUNWIND_TESTS)
302
303XFAIL_TESTS_ =
304XFAIL_TESTS_m32 = $(LIBUNWIND_TESTS)
305XFAIL_TESTS_mx32 = $(LIBUNWIND_TESTS)
306XFAIL_TESTS = $(XFAIL_TESTS_$(MPERS_NAME))
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +0000307
Philippe Ombredanne894c7e32014-02-01 09:57:45 -0800308net-fd.log: net.log
309
Dmitry V. Levin25c804c2015-04-07 21:18:23 +0000310TEST_LOG_COMPILER = env
311AM_TEST_LOG_FLAGS = STRACE_ARCH=$(ARCH) $(srcdir)/run.sh
Dmitry V. Levinf60347d2013-06-18 15:28:47 +0000312
Dmitry V. Levin226bf1c2015-03-18 19:14:02 +0000313EXTRA_DIST = init.sh run.sh match.awk \
Dmitry V. Levin4b9c68b2014-12-05 00:21:23 +0000314 caps.awk \
Dmitry V. Levin495f5252015-02-01 00:20:32 +0000315 dumpio.expected \
Dmitry V. Levinc8cba992015-08-01 21:08:13 +0000316 eventfd.expected \
Dmitry V. Levin4ff687b2015-07-27 10:02:33 +0000317 execve.expected \
318 execve-v.expected \
Dmitry V. Levin7c221012015-07-26 11:06:53 +0000319 execveat.expected \
320 execveat-v.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000321 fanotify_mark.expected \
Dmitry V. Levin4b80f342015-06-29 11:57:44 +0000322 filter-unavailable.expected \
Dmitry V. Levinb0e61152015-12-02 01:02:39 +0000323 fstatat.c \
Dmitry V. Levinc8638272015-12-05 00:02:44 +0000324 fstatx.c \
Dmitry V. Levin7bee4622015-06-08 14:19:46 +0000325 ip_mreq.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000326 ipc.sh \
Elvira Khabirovab7699b52015-08-03 12:40:46 +0300327 ipc_msgbuf.expected \
Dmitry V. Levinbab4ef42015-12-10 02:06:25 +0000328 ksysent.sed \
Dmitry V. Levin38e37682015-12-05 00:03:02 +0000329 lstatx.c \
Dmitry V. Levin95b84ea2015-07-28 23:03:41 +0000330 memfd_create.expected \
Elvira Khabirova422f7932015-08-19 05:28:48 +0300331 mq.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000332 net.expected \
333 net-fd.expected \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000334 net-yy-accept.awk \
335 net-yy-connect.awk \
Dmitry V. Levinea7ef932015-07-30 08:24:32 +0000336 oldselect.expected \
Dmitry V. Levin78ed3f32015-03-23 00:04:27 +0000337 pipe.expected \
Dmitry V. Levind9fb4502015-07-30 19:46:11 +0000338 ppoll.expected \
339 ppoll-v.expected \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000340 sigaction.awk \
Elvira Khabirova10020ae2015-07-17 04:45:25 +0300341 sigaltstack.expected \
Dmitry V. Levin30ac0622015-08-03 09:47:25 +0000342 signalfd.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000343 statfs.expected \
Dmitry V. Levincc2baf32015-12-05 00:01:56 +0000344 statx.sh \
Dmitry V. Levin21547022015-12-05 00:52:01 +0000345 struct_flock.c \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000346 sun_path.expected \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +0000347 uid.awk \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000348 uio.expected \
Dmitry V. Levin48321342015-03-31 18:52:57 +0000349 umovestr.expected \
Masatake YAMATO6077ad82014-12-24 20:59:32 +0900350 unix-yy-accept.awk \
351 unix-yy-connect.awk \
Dmitry V. Levincde9ef72015-07-15 01:50:27 +0000352 wait.expected \
Dmitry V. Levinb60b2a52015-07-15 00:09:08 +0000353 xattr.expected \
Dmitry V. Levin69b73072015-12-08 17:38:12 +0000354 xselect.c \
Dmitry V. Levincc2baf32015-12-05 00:01:56 +0000355 xstatx.c \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000356 $(TESTS)
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +0000357
Dmitry V. Levinbab4ef42015-12-10 02:06:25 +0000358ksysent.h: $(srcdir)/ksysent.sed
359 echo '#include <asm/unistd.h>' | \
360 $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -dD - > $@.t1
361 LC_COLLATE=C sed -n -f $(srcdir)/ksysent.sed < $@.t1 > $@.t2
362 mv -f $@.t2 $@
363 rm -f $@.t1
364
365BUILT_SOURCES = ksysent.h
366CLEANFILES = ksysent.h $(TESTS:=.tmp)