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