Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 1 | # Automake input for strace tests. |
2 | |||||
Dmitry V. Levin | 25c804c | 2015-04-07 21:18:23 +0000 | [diff] [blame] | 3 | OS = linux |
4 | ARCH = @arch@ | ||||
Dmitry V. Levin | 47b0dcc | 2013-05-07 23:32:01 +0000 | [diff] [blame] | 5 | AM_CFLAGS = $(WARN_CFLAGS) |
Dmitry V. Levin | 0f4ad30 | 2015-02-22 02:13:04 +0000 | [diff] [blame] | 6 | AM_CPPFLAGS = -I$(top_builddir)/$(OS)/$(ARCH) \ |
7 | -I$(top_srcdir)/$(OS)/$(ARCH) \ | ||||
8 | -I$(top_builddir)/$(OS) \ | ||||
9 | -I$(top_srcdir)/$(OS) | ||||
Dmitry V. Levin | 47b0dcc | 2013-05-07 23:32:01 +0000 | [diff] [blame] | 10 | |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 11 | check_PROGRAMS = \ |
Dmitry V. Levin | ddb53dd | 2015-07-25 23:55:51 +0000 | [diff] [blame] | 12 | bpf \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 13 | caps \ |
Dmitry V. Levin | 4ff687b | 2015-07-27 10:02:33 +0000 | [diff] [blame] | 14 | execve \ |
Dmitry V. Levin | 7c22101 | 2015-07-26 11:06:53 +0000 | [diff] [blame] | 15 | execveat \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 16 | fanotify_mark \ |
Dmitry V. Levin | 4b80f34 | 2015-06-29 11:57:44 +0000 | [diff] [blame] | 17 | filter-unavailable \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 18 | getrandom \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 19 | inet-accept-connect-send-recv \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 20 | ioctl \ |
Dmitry V. Levin | 7bee462 | 2015-06-08 14:19:46 +0000 | [diff] [blame] | 21 | ip_mreq \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 22 | ipc_msg \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 23 | ipc_sem \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 24 | ipc_shm \ |
Dmitry V. Levin | 95b84ea | 2015-07-28 23:03:41 +0000 | [diff] [blame] | 25 | memfd_create \ |
Dmitry V. Levin | e7d671b | 2015-03-19 22:03:32 +0000 | [diff] [blame] | 26 | mmap \ |
27 | mmap64 \ | ||||
Masatake YAMATO | 993198d | 2014-11-07 01:23:27 +0900 | [diff] [blame] | 28 | mmsg \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 29 | net-accept-connect \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 30 | netlink_inet_diag \ |
Dmitry V. Levin | 6b5df32 | 2014-12-25 00:11:40 +0000 | [diff] [blame] | 31 | netlink_unix_diag \ |
Dmitry V. Levin | e96cb62 | 2015-02-15 15:52:02 +0000 | [diff] [blame] | 32 | pc \ |
Dmitry V. Levin | 78ed3f3 | 2015-03-23 00:04:27 +0000 | [diff] [blame] | 33 | pipe \ |
Dmitry V. Levin | 3456bcc | 2015-07-29 07:59:56 +0000 | [diff] [blame^] | 34 | sched_xetattr \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 35 | scm_rights \ |
Dmitry V. Levin | 485f8fb | 2015-03-19 00:40:49 +0000 | [diff] [blame] | 36 | seccomp \ |
Dmitry V. Levin | e837b14 | 2015-02-04 02:09:52 +0000 | [diff] [blame] | 37 | select \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 38 | set_ptracer_any \ |
39 | sigaction \ | ||||
Elvira Khabirova | 10020ae | 2015-07-17 04:45:25 +0300 | [diff] [blame] | 40 | sigaltstack \ |
Dmitry V. Levin | 30bcb79 | 2015-03-04 12:31:18 +0000 | [diff] [blame] | 41 | sigreturn \ |
Masatake YAMATO | 9682107 | 2014-05-14 13:16:29 +0900 | [diff] [blame] | 42 | stack-fcall \ |
Dmitry V. Levin | 7b01014 | 2015-01-07 19:30:37 +0000 | [diff] [blame] | 43 | stat \ |
44 | stat32 \ | ||||
Dmitry V. Levin | 4176d53 | 2014-09-21 22:42:45 +0000 | [diff] [blame] | 45 | statfs \ |
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 46 | uid \ |
Dmitry V. Levin | 80f7db1 | 2014-12-13 21:49:01 +0000 | [diff] [blame] | 47 | uid16 \ |
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 48 | uid32 \ |
Dmitry V. Levin | 495f525 | 2015-02-01 00:20:32 +0000 | [diff] [blame] | 49 | uio \ |
Dmitry V. Levin | 4832134 | 2015-03-31 18:52:57 +0000 | [diff] [blame] | 50 | umovestr \ |
51 | umovestr2 \ | ||||
Dmitry V. Levin | b60b2a5 | 2015-07-15 00:09:08 +0000 | [diff] [blame] | 52 | unix-pair-send-recv \ |
Dmitry V. Levin | d27ccca | 2015-07-15 09:02:17 +0000 | [diff] [blame] | 53 | utime \ |
Dmitry V. Levin | b60b2a5 | 2015-07-15 00:09:08 +0000 | [diff] [blame] | 54 | xattr |
Dmitry V. Levin | cc3d591 | 2014-04-16 23:28:29 +0000 | [diff] [blame] | 55 | |
Dmitry V. Levin | 95eaf19 | 2015-07-21 10:17:33 +0000 | [diff] [blame] | 56 | filter_unavailable_LDADD = -lpthread |
Dmitry V. Levin | e7d671b | 2015-03-19 22:03:32 +0000 | [diff] [blame] | 57 | mmap64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | 977550d | 2015-02-27 04:09:56 +0000 | [diff] [blame] | 58 | pc_LDADD = $(dl_LIBS) |
Dmitry V. Levin | 7b01014 | 2015-01-07 19:30:37 +0000 | [diff] [blame] | 59 | stat_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | 4176d53 | 2014-09-21 22:42:45 +0000 | [diff] [blame] | 60 | statfs_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | cc3d591 | 2014-04-16 23:28:29 +0000 | [diff] [blame] | 61 | uio_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | b076420 | 2014-06-16 21:45:52 +0000 | [diff] [blame] | 62 | stack_fcall_SOURCES = stack-fcall.c \ |
63 | stack-fcall-0.c stack-fcall-1.c stack-fcall-2.c stack-fcall-3.c | ||||
Dmitry V. Levin | 47b0dcc | 2013-05-07 23:32:01 +0000 | [diff] [blame] | 64 | |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 65 | TESTS = \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 66 | strace-f.test \ |
67 | qual_syscall.test \ | ||||
Dmitry V. Levin | aa80192 | 2015-02-07 18:48:55 +0000 | [diff] [blame] | 68 | bexecve.test \ |
Dmitry V. Levin | ddb53dd | 2015-07-25 23:55:51 +0000 | [diff] [blame] | 69 | bpf.test \ |
Dmitry V. Levin | 4b9c68b | 2014-12-05 00:21:23 +0000 | [diff] [blame] | 70 | caps.test \ |
Dmitry V. Levin | 495f525 | 2015-02-01 00:20:32 +0000 | [diff] [blame] | 71 | dumpio.test \ |
Dmitry V. Levin | 4ff687b | 2015-07-27 10:02:33 +0000 | [diff] [blame] | 72 | execve.test \ |
Dmitry V. Levin | 7c22101 | 2015-07-26 11:06:53 +0000 | [diff] [blame] | 73 | execveat.test \ |
Dmitry V. Levin | 1ea6473 | 2015-01-10 00:08:58 +0000 | [diff] [blame] | 74 | fanotify_mark.test \ |
Dmitry V. Levin | 4b80f34 | 2015-06-29 11:57:44 +0000 | [diff] [blame] | 75 | filter-unavailable.test \ |
Dmitry V. Levin | 68d6424 | 2014-09-10 00:07:32 +0000 | [diff] [blame] | 76 | getdents.test \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 77 | getrandom.test \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 78 | ioctl.test \ |
Dmitry V. Levin | 7bee462 | 2015-06-08 14:19:46 +0000 | [diff] [blame] | 79 | ip_mreq.test \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 80 | ipc_msg.test \ |
81 | ipc_shm.test \ | ||||
82 | ipc_sem.test \ | ||||
Dmitry V. Levin | 3456bcc | 2015-07-29 07:59:56 +0000 | [diff] [blame^] | 83 | sched_xetattr.test \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 84 | scm_rights-fd.test \ |
Dmitry V. Levin | 485f8fb | 2015-03-19 00:40:49 +0000 | [diff] [blame] | 85 | seccomp.test \ |
Dmitry V. Levin | e837b14 | 2015-02-04 02:09:52 +0000 | [diff] [blame] | 86 | select.test \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 87 | sigaction.test \ |
Elvira Khabirova | 10020ae | 2015-07-17 04:45:25 +0300 | [diff] [blame] | 88 | sigaltstack.test \ |
Dmitry V. Levin | 30bcb79 | 2015-03-04 12:31:18 +0000 | [diff] [blame] | 89 | sigreturn.test \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 90 | stat.test \ |
Dmitry V. Levin | 7b01014 | 2015-01-07 19:30:37 +0000 | [diff] [blame] | 91 | stat32-v.test \ |
92 | stat64-v.test \ | ||||
Dmitry V. Levin | 4176d53 | 2014-09-21 22:42:45 +0000 | [diff] [blame] | 93 | statfs.test \ |
Dmitry V. Levin | 95b84ea | 2015-07-28 23:03:41 +0000 | [diff] [blame] | 94 | memfd_create.test \ |
Dmitry V. Levin | e7d671b | 2015-03-19 22:03:32 +0000 | [diff] [blame] | 95 | mmap.test \ |
96 | mmap64.test \ | ||||
Masatake YAMATO | 993198d | 2014-11-07 01:23:27 +0900 | [diff] [blame] | 97 | mmsg.test \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 98 | net.test \ |
Philippe Ombredanne | 894c7e3 | 2014-02-01 09:57:45 -0800 | [diff] [blame] | 99 | net-fd.test \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 100 | net-yy.test \ |
Dmitry V. Levin | 78ed3f3 | 2015-03-23 00:04:27 +0000 | [diff] [blame] | 101 | pipe.test \ |
Dmitry V. Levin | e96cb62 | 2015-02-15 15:52:02 +0000 | [diff] [blame] | 102 | pc.test \ |
Dmitry V. Levin | c9e2418 | 2015-01-29 15:19:21 +0000 | [diff] [blame] | 103 | sun_path.test \ |
Dmitry V. Levin | 4832134 | 2015-03-31 18:52:57 +0000 | [diff] [blame] | 104 | umovestr.test \ |
105 | umovestr2.test \ | ||||
Masatake YAMATO | 6077ad8 | 2014-12-24 20:59:32 +0900 | [diff] [blame] | 106 | unix-yy.test \ |
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 107 | uid.test \ |
Dmitry V. Levin | 80f7db1 | 2014-12-13 21:49:01 +0000 | [diff] [blame] | 108 | uid16.test \ |
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 109 | uid32.test \ |
Dmitry V. Levin | cc3d591 | 2014-04-16 23:28:29 +0000 | [diff] [blame] | 110 | uio.test \ |
Dmitry V. Levin | d27ccca | 2015-07-15 09:02:17 +0000 | [diff] [blame] | 111 | utime.test \ |
Dmitry V. Levin | b60b2a5 | 2015-07-15 00:09:08 +0000 | [diff] [blame] | 112 | xattr.test \ |
Dmitry V. Levin | 772e32b | 2014-05-29 21:14:14 +0000 | [diff] [blame] | 113 | count.test \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 114 | detach-sleeping.test \ |
115 | detach-stopped.test \ | ||||
Masatake YAMATO | 9682107 | 2014-05-14 13:16:29 +0900 | [diff] [blame] | 116 | detach-running.test \ |
Dmitry V. Levin | 25c804c | 2015-04-07 21:18:23 +0000 | [diff] [blame] | 117 | restart_syscall.test \ |
Masatake YAMATO | 9682107 | 2014-05-14 13:16:29 +0900 | [diff] [blame] | 118 | strace-k.test |
Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 119 | |
Philippe Ombredanne | 894c7e3 | 2014-02-01 09:57:45 -0800 | [diff] [blame] | 120 | net-fd.log: net.log |
121 | |||||
Dmitry V. Levin | 25c804c | 2015-04-07 21:18:23 +0000 | [diff] [blame] | 122 | TEST_LOG_COMPILER = env |
123 | AM_TEST_LOG_FLAGS = STRACE_ARCH=$(ARCH) $(srcdir)/run.sh | ||||
Dmitry V. Levin | f60347d | 2013-06-18 15:28:47 +0000 | [diff] [blame] | 124 | |
Dmitry V. Levin | 226bf1c | 2015-03-18 19:14:02 +0000 | [diff] [blame] | 125 | EXTRA_DIST = init.sh run.sh match.awk \ |
Dmitry V. Levin | 4b9c68b | 2014-12-05 00:21:23 +0000 | [diff] [blame] | 126 | caps.awk \ |
Dmitry V. Levin | 495f525 | 2015-02-01 00:20:32 +0000 | [diff] [blame] | 127 | dumpio.expected \ |
Dmitry V. Levin | 4ff687b | 2015-07-27 10:02:33 +0000 | [diff] [blame] | 128 | execve.expected \ |
129 | execve-v.expected \ | ||||
Dmitry V. Levin | 7c22101 | 2015-07-26 11:06:53 +0000 | [diff] [blame] | 130 | execveat.expected \ |
131 | execveat-v.expected \ | ||||
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 132 | fanotify_mark.expected \ |
Dmitry V. Levin | 4b80f34 | 2015-06-29 11:57:44 +0000 | [diff] [blame] | 133 | filter-unavailable.expected \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 134 | getdents.awk \ |
Dmitry V. Levin | 7e79a8b | 2015-02-23 21:42:16 +0000 | [diff] [blame] | 135 | getdents.out \ |
Dmitry V. Levin | e3e64a1 | 2015-02-23 21:47:15 +0000 | [diff] [blame] | 136 | getrandom.awk \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 137 | ioctl.expected \ |
Dmitry V. Levin | 7bee462 | 2015-06-08 14:19:46 +0000 | [diff] [blame] | 138 | ip_mreq.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 139 | ipc.sh \ |
Dmitry V. Levin | 95b84ea | 2015-07-28 23:03:41 +0000 | [diff] [blame] | 140 | memfd_create.expected \ |
Masatake YAMATO | 993198d | 2014-11-07 01:23:27 +0900 | [diff] [blame] | 141 | mmsg.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 142 | net.expected \ |
143 | net-fd.expected \ | ||||
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 144 | net-yy-accept.awk \ |
145 | net-yy-connect.awk \ | ||||
Dmitry V. Levin | 78ed3f3 | 2015-03-23 00:04:27 +0000 | [diff] [blame] | 146 | pipe.expected \ |
Dmitry V. Levin | 25c804c | 2015-04-07 21:18:23 +0000 | [diff] [blame] | 147 | restart_syscall.expected \ |
148 | restart_syscall_unknown.expected \ | ||||
Dmitry V. Levin | e837b14 | 2015-02-04 02:09:52 +0000 | [diff] [blame] | 149 | select.awk \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 150 | sigaction.awk \ |
Elvira Khabirova | 10020ae | 2015-07-17 04:45:25 +0300 | [diff] [blame] | 151 | sigaltstack.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 152 | statfs.expected \ |
153 | sun_path.expected \ | ||||
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 154 | uid.awk \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 155 | uio.expected \ |
Dmitry V. Levin | 4832134 | 2015-03-31 18:52:57 +0000 | [diff] [blame] | 156 | umovestr.expected \ |
Masatake YAMATO | 6077ad8 | 2014-12-24 20:59:32 +0900 | [diff] [blame] | 157 | unix-yy-accept.awk \ |
158 | unix-yy-connect.awk \ | ||||
Dmitry V. Levin | b60b2a5 | 2015-07-15 00:09:08 +0000 | [diff] [blame] | 159 | xattr.expected \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 160 | $(TESTS) |
Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 161 | |
Dmitry V. Levin | 107ceb9 | 2013-06-18 13:35:29 +0000 | [diff] [blame] | 162 | CLEANFILES = $(TESTS:=.tmp) |