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