blob: 32e6e52e97017e916f0fbd574623f15b7eaa119d [file] [log] [blame]
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +00001# Automake input for strace tests.
2
Dmitry V. Levin25c804c2015-04-07 21:18:23 +00003OS = linux
4ARCH = @arch@
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +00005AM_CFLAGS = $(WARN_CFLAGS)
Dmitry V. Levin0f4ad302015-02-22 02:13:04 +00006AM_CPPFLAGS = -I$(top_builddir)/$(OS)/$(ARCH) \
7 -I$(top_srcdir)/$(OS)/$(ARCH) \
8 -I$(top_builddir)/$(OS) \
9 -I$(top_srcdir)/$(OS)
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +000010
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000011check_PROGRAMS = \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000012 caps \
13 fanotify_mark \
Dmitry V. Levin4b80f342015-06-29 11:57:44 +000014 filter-unavailable \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000015 getrandom \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000016 inet-accept-connect-send-recv \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +000017 ioctl \
Dmitry V. Levin7bee4622015-06-08 14:19:46 +000018 ip_mreq \
Dmitry V. Levin12e24422015-01-12 16:08:59 +000019 ipc_msg \
Dmitry V. Levin12e24422015-01-12 16:08:59 +000020 ipc_sem \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000021 ipc_shm \
Dmitry V. Levine7d671b2015-03-19 22:03:32 +000022 mmap \
23 mmap64 \
Masatake YAMATO993198d2014-11-07 01:23:27 +090024 mmsg \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000025 net-accept-connect \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000026 netlink_inet_diag \
Dmitry V. Levin6b5df322014-12-25 00:11:40 +000027 netlink_unix_diag \
Dmitry V. Levine96cb622015-02-15 15:52:02 +000028 pc \
Dmitry V. Levin78ed3f32015-03-23 00:04:27 +000029 pipe \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000030 scm_rights \
Dmitry V. Levin485f8fb2015-03-19 00:40:49 +000031 seccomp \
Dmitry V. Levine837b142015-02-04 02:09:52 +000032 select \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000033 set_ptracer_any \
34 sigaction \
Dmitry V. Levin30bcb792015-03-04 12:31:18 +000035 sigreturn \
Masatake YAMATO96821072014-05-14 13:16:29 +090036 stack-fcall \
Dmitry V. Levin7b010142015-01-07 19:30:37 +000037 stat \
38 stat32 \
Dmitry V. Levin4176d532014-09-21 22:42:45 +000039 statfs \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +000040 uid \
Dmitry V. Levin80f7db12014-12-13 21:49:01 +000041 uid16 \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +000042 uid32 \
Dmitry V. Levin495f5252015-02-01 00:20:32 +000043 uio \
Dmitry V. Levin48321342015-03-31 18:52:57 +000044 umovestr \
45 umovestr2 \
Dmitry V. Levin495f5252015-02-01 00:20:32 +000046 unix-pair-send-recv
Dmitry V. Levincc3d5912014-04-16 23:28:29 +000047
Dmitry V. Levin4b80f342015-06-29 11:57:44 +000048filter_unavailable_LDFLAGS = -pthread
Dmitry V. Levine7d671b2015-03-19 22:03:32 +000049mmap64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levin977550d2015-02-27 04:09:56 +000050pc_LDADD = $(dl_LIBS)
Dmitry V. Levin7b010142015-01-07 19:30:37 +000051stat_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levin4176d532014-09-21 22:42:45 +000052statfs_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levincc3d5912014-04-16 23:28:29 +000053uio_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levinb0764202014-06-16 21:45:52 +000054stack_fcall_SOURCES = stack-fcall.c \
55 stack-fcall-0.c stack-fcall-1.c stack-fcall-2.c stack-fcall-3.c
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +000056
Dmitry V. Levin123d4012014-02-02 15:20:11 +000057TESTS = \
Dmitry V. Levin123d4012014-02-02 15:20:11 +000058 strace-f.test \
59 qual_syscall.test \
Dmitry V. Levinaa801922015-02-07 18:48:55 +000060 bexecve.test \
Dmitry V. Levin4b9c68b2014-12-05 00:21:23 +000061 caps.test \
Dmitry V. Levin495f5252015-02-01 00:20:32 +000062 dumpio.test \
Dmitry V. Levin1ea64732015-01-10 00:08:58 +000063 fanotify_mark.test \
Dmitry V. Levin4b80f342015-06-29 11:57:44 +000064 filter-unavailable.test \
Dmitry V. Levin68d64242014-09-10 00:07:32 +000065 getdents.test \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000066 getrandom.test \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +000067 ioctl.test \
Dmitry V. Levin7bee4622015-06-08 14:19:46 +000068 ip_mreq.test \
Dmitry V. Levin12e24422015-01-12 16:08:59 +000069 ipc_msg.test \
70 ipc_shm.test \
71 ipc_sem.test \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000072 scm_rights-fd.test \
Dmitry V. Levin485f8fb2015-03-19 00:40:49 +000073 seccomp.test \
Dmitry V. Levine837b142015-02-04 02:09:52 +000074 select.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +000075 sigaction.test \
Dmitry V. Levin30bcb792015-03-04 12:31:18 +000076 sigreturn.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +000077 stat.test \
Dmitry V. Levin7b010142015-01-07 19:30:37 +000078 stat32-v.test \
79 stat64-v.test \
Dmitry V. Levin4176d532014-09-21 22:42:45 +000080 statfs.test \
Dmitry V. Levine7d671b2015-03-19 22:03:32 +000081 mmap.test \
82 mmap64.test \
Masatake YAMATO993198d2014-11-07 01:23:27 +090083 mmsg.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +000084 net.test \
Philippe Ombredanne894c7e32014-02-01 09:57:45 -080085 net-fd.test \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000086 net-yy.test \
Dmitry V. Levin78ed3f32015-03-23 00:04:27 +000087 pipe.test \
Dmitry V. Levine96cb622015-02-15 15:52:02 +000088 pc.test \
Dmitry V. Levinc9e24182015-01-29 15:19:21 +000089 sun_path.test \
Dmitry V. Levin48321342015-03-31 18:52:57 +000090 umovestr.test \
91 umovestr2.test \
Masatake YAMATO6077ad82014-12-24 20:59:32 +090092 unix-yy.test \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +000093 uid.test \
Dmitry V. Levin80f7db12014-12-13 21:49:01 +000094 uid16.test \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +000095 uid32.test \
Dmitry V. Levincc3d5912014-04-16 23:28:29 +000096 uio.test \
Dmitry V. Levin772e32b2014-05-29 21:14:14 +000097 count.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +000098 detach-sleeping.test \
99 detach-stopped.test \
Masatake YAMATO96821072014-05-14 13:16:29 +0900100 detach-running.test \
Dmitry V. Levin25c804c2015-04-07 21:18:23 +0000101 restart_syscall.test \
Masatake YAMATO96821072014-05-14 13:16:29 +0900102 strace-k.test
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +0000103
Philippe Ombredanne894c7e32014-02-01 09:57:45 -0800104net-fd.log: net.log
105
Dmitry V. Levin25c804c2015-04-07 21:18:23 +0000106TEST_LOG_COMPILER = env
107AM_TEST_LOG_FLAGS = STRACE_ARCH=$(ARCH) $(srcdir)/run.sh
Dmitry V. Levinf60347d2013-06-18 15:28:47 +0000108
Dmitry V. Levin226bf1c2015-03-18 19:14:02 +0000109EXTRA_DIST = init.sh run.sh match.awk \
Dmitry V. Levin4b9c68b2014-12-05 00:21:23 +0000110 caps.awk \
Dmitry V. Levin495f5252015-02-01 00:20:32 +0000111 dumpio.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000112 fanotify_mark.expected \
Dmitry V. Levin4b80f342015-06-29 11:57:44 +0000113 filter-unavailable.expected \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000114 getdents.awk \
Dmitry V. Levin7e79a8b2015-02-23 21:42:16 +0000115 getdents.out \
Dmitry V. Levine3e64a12015-02-23 21:47:15 +0000116 getrandom.awk \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000117 ioctl.expected \
Dmitry V. Levin7bee4622015-06-08 14:19:46 +0000118 ip_mreq.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000119 ipc.sh \
Masatake YAMATO993198d2014-11-07 01:23:27 +0900120 mmsg.expected \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000121 net.expected \
122 net-fd.expected \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000123 net-yy-accept.awk \
124 net-yy-connect.awk \
Dmitry V. Levin78ed3f32015-03-23 00:04:27 +0000125 pipe.expected \
Dmitry V. Levin25c804c2015-04-07 21:18:23 +0000126 restart_syscall.expected \
127 restart_syscall_unknown.expected \
Dmitry V. Levine837b142015-02-04 02:09:52 +0000128 select.awk \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000129 sigaction.awk \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000130 statfs.expected \
131 sun_path.expected \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +0000132 uid.awk \
Dmitry V. Levin8f546642015-03-17 17:07:57 +0000133 uio.expected \
Dmitry V. Levin48321342015-03-31 18:52:57 +0000134 umovestr.expected \
Masatake YAMATO6077ad82014-12-24 20:59:32 +0900135 unix-yy-accept.awk \
136 unix-yy-connect.awk \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +0000137 $(TESTS)
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +0000138
Dmitry V. Levin107ceb92013-06-18 13:35:29 +0000139CLEANFILES = $(TESTS:=.tmp)