Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 1 | # Automake input for strace tests. |
Dmitry V. Levin | 38a34c9 | 2015-12-17 17:56:48 +0000 | [diff] [blame] | 2 | # |
Dmitry V. Levin | 10eab9d | 2016-01-01 23:09:02 +0000 | [diff] [blame] | 3 | # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@altlinux.org> |
Dmitry V. Levin | 38a34c9 | 2015-12-17 17:56:48 +0000 | [diff] [blame] | 4 | # 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. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 27 | |
Dmitry V. Levin | 25c804c | 2015-04-07 21:18:23 +0000 | [diff] [blame] | 28 | OS = linux |
| 29 | ARCH = @arch@ |
Dmitry V. Levin | 10eab9d | 2016-01-01 23:09:02 +0000 | [diff] [blame] | 30 | MPERS_NAME = |
Dmitry V. Levin | 860b3a6 | 2015-12-08 00:14:10 +0000 | [diff] [blame] | 31 | ARCH_MFLAGS = |
Dmitry V. Levin | 47b0dcc | 2013-05-07 23:32:01 +0000 | [diff] [blame] | 32 | AM_CFLAGS = $(WARN_CFLAGS) |
Dmitry V. Levin | 860b3a6 | 2015-12-08 00:14:10 +0000 | [diff] [blame] | 33 | AM_CPPFLAGS = $(ARCH_MFLAGS) \ |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 34 | -I$(builddir) \ |
Dmitry V. Levin | 860b3a6 | 2015-12-08 00:14:10 +0000 | [diff] [blame] | 35 | -I$(top_builddir)/$(OS)/$(ARCH) \ |
Dmitry V. Levin | 0f4ad30 | 2015-02-22 02:13:04 +0000 | [diff] [blame] | 36 | -I$(top_srcdir)/$(OS)/$(ARCH) \ |
| 37 | -I$(top_builddir)/$(OS) \ |
Dmitry V. Levin | cf3ecbd | 2015-08-26 22:50:58 +0000 | [diff] [blame] | 38 | -I$(top_srcdir)/$(OS) \ |
| 39 | -I$(top_builddir) \ |
| 40 | -I$(top_srcdir) |
Dmitry V. Levin | 860b3a6 | 2015-12-08 00:14:10 +0000 | [diff] [blame] | 41 | AM_LDFLAGS = $(ARCH_MFLAGS) |
Dmitry V. Levin | 47b0dcc | 2013-05-07 23:32:01 +0000 | [diff] [blame] | 42 | |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 43 | libtests_a_SOURCES = \ |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 44 | error_msg.c \ |
Dmitry V. Levin | 590b240 | 2016-01-20 05:26:43 +0000 | [diff] [blame] | 45 | get_page_size.c \ |
| 46 | hexdump_strdup.c \ |
Dmitry V. Levin | 7637b1d | 2016-02-04 01:59:35 +0000 | [diff] [blame] | 47 | hexquote_strndup.c \ |
Dmitry V. Levin | e364920 | 2016-01-25 22:20:40 +0000 | [diff] [blame] | 48 | inode_of_sockfd.c \ |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 49 | tail_alloc.c \ |
| 50 | tests.h \ |
Dmitry V. Levin | 536a035 | 2016-01-20 02:06:59 +0000 | [diff] [blame] | 51 | tprintf.c \ |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 52 | # end of libtests_a_SOURCES |
| 53 | libtests_a_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 54 | check_LIBRARIES = libtests.a |
| 55 | LDADD = libtests.a |
| 56 | |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 57 | check_PROGRAMS = \ |
Dmitry V. Levin | 69b7307 | 2015-12-08 17:38:12 +0000 | [diff] [blame] | 58 | _newselect \ |
Dmitry V. Levin | dad1eef | 2015-09-16 21:58:36 +0000 | [diff] [blame] | 59 | adjtimex \ |
Dmitry V. Levin | 13c2173 | 2015-08-26 12:49:07 +0000 | [diff] [blame] | 60 | aio \ |
Dmitry V. Levin | 6204654 | 2016-02-09 04:16:41 +0000 | [diff] [blame] | 61 | attach-f-p \ |
Dmitry V. Levin | fa8c286 | 2016-01-22 14:37:14 +0000 | [diff] [blame] | 62 | attach-p-cmd-cmd \ |
| 63 | attach-p-cmd-p \ |
Dmitry V. Levin | ddb53dd | 2015-07-25 23:55:51 +0000 | [diff] [blame] | 64 | bpf \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 65 | caps \ |
Dmitry V. Levin | c648b4a | 2015-09-18 14:24:51 +0000 | [diff] [blame] | 66 | clock_nanosleep \ |
Dmitry V. Levin | 9d4c892 | 2015-09-17 21:57:22 +0000 | [diff] [blame] | 67 | clock_xettime \ |
Dmitry V. Levin | c1f99f5 | 2016-02-13 03:45:32 +0000 | [diff] [blame] | 68 | copy_file_range \ |
Dmitry V. Levin | bf62c1b | 2015-08-01 23:04:32 +0000 | [diff] [blame] | 69 | epoll_create1 \ |
Dmitry V. Levin | c8cba99 | 2015-08-01 21:08:13 +0000 | [diff] [blame] | 70 | eventfd \ |
Dmitry V. Levin | 4ff687b | 2015-07-27 10:02:33 +0000 | [diff] [blame] | 71 | execve \ |
Dmitry V. Levin | 23168c1 | 2016-02-07 14:37:53 +0000 | [diff] [blame] | 72 | execve-v \ |
Dmitry V. Levin | 7c22101 | 2015-07-26 11:06:53 +0000 | [diff] [blame] | 73 | execveat \ |
Dmitry V. Levin | 23168c1 | 2016-02-07 14:37:53 +0000 | [diff] [blame] | 74 | execveat-v \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 75 | fanotify_mark \ |
Dmitry V. Levin | 2154702 | 2015-12-05 00:52:01 +0000 | [diff] [blame] | 76 | fcntl \ |
| 77 | fcntl64 \ |
Dmitry V. Levin | 4b3a170 | 2015-11-22 21:29:32 +0000 | [diff] [blame] | 78 | file_handle \ |
Dmitry V. Levin | 4b80f34 | 2015-06-29 11:57:44 +0000 | [diff] [blame] | 79 | filter-unavailable \ |
Dmitry V. Levin | 78db0f2 | 2015-12-30 23:00:43 +0000 | [diff] [blame] | 80 | fork-f \ |
Dmitry V. Levin | c863827 | 2015-12-05 00:02:44 +0000 | [diff] [blame] | 81 | fstat \ |
| 82 | fstat64 \ |
Dmitry V. Levin | b0e6115 | 2015-12-02 01:02:39 +0000 | [diff] [blame] | 83 | fstatat64 \ |
Dmitry V. Levin | c1bb87a | 2015-12-01 00:02:45 +0000 | [diff] [blame] | 84 | ftruncate \ |
Dmitry V. Levin | 431d63c | 2015-12-01 00:32:40 +0000 | [diff] [blame] | 85 | ftruncate64 \ |
Dmitry V. Levin | 7528a0b | 2015-11-19 16:39:32 +0000 | [diff] [blame] | 86 | getdents \ |
| 87 | getdents64 \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 88 | getrandom \ |
Dmitry V. Levin | 2720a61 | 2016-01-09 00:06:06 +0000 | [diff] [blame] | 89 | getxxid \ |
Dmitry V. Levin | 1f111cf | 2015-11-21 03:03:54 +0300 | [diff] [blame] | 90 | inet-cmsg \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 91 | ioctl \ |
Dmitry V. Levin | 7bee462 | 2015-06-08 14:19:46 +0000 | [diff] [blame] | 92 | ip_mreq \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 93 | ipc_msg \ |
Elvira Khabirova | b7699b5 | 2015-08-03 12:40:46 +0300 | [diff] [blame] | 94 | ipc_msgbuf \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 95 | ipc_sem \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 96 | ipc_shm \ |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 97 | ksysent \ |
Dmitry V. Levin | 9db0797 | 2015-12-01 00:59:26 +0000 | [diff] [blame] | 98 | llseek \ |
| 99 | lseek \ |
Dmitry V. Levin | 38e3768 | 2015-12-05 00:03:02 +0000 | [diff] [blame] | 100 | lstat \ |
| 101 | lstat64 \ |
Dmitry V. Levin | 2aec1e6 | 2015-11-15 02:29:29 +0000 | [diff] [blame] | 102 | membarrier \ |
Dmitry V. Levin | 95b84ea | 2015-07-28 23:03:41 +0000 | [diff] [blame] | 103 | memfd_create \ |
Dmitry V. Levin | dfea1da | 2016-01-29 01:51:54 +0000 | [diff] [blame] | 104 | mincore \ |
Dmitry V. Levin | 0d0a50a | 2015-11-15 02:35:57 +0000 | [diff] [blame] | 105 | mlock2 \ |
Dmitry V. Levin | e7d671b | 2015-03-19 22:03:32 +0000 | [diff] [blame] | 106 | mmap \ |
| 107 | mmap64 \ |
Masatake YAMATO | 993198d | 2014-11-07 01:23:27 +0900 | [diff] [blame] | 108 | mmsg \ |
Elvira Khabirova | 422f793 | 2015-08-19 05:28:48 +0300 | [diff] [blame] | 109 | mq \ |
Dmitry V. Levin | 593602c | 2015-09-18 02:18:03 +0000 | [diff] [blame] | 110 | nanosleep \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 111 | net-accept-connect \ |
Dmitry V. Levin | 751fcb8 | 2016-02-02 19:48:46 +0000 | [diff] [blame] | 112 | net-y-unix \ |
Dmitry V. Levin | 9d15ec7 | 2016-01-26 22:03:22 +0000 | [diff] [blame] | 113 | net-yy-inet \ |
Dmitry V. Levin | 6124cd9 | 2016-01-25 22:20:54 +0000 | [diff] [blame] | 114 | net-yy-unix \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 115 | netlink_inet_diag \ |
Dmitry V. Levin | 6b5df32 | 2014-12-25 00:11:40 +0000 | [diff] [blame] | 116 | netlink_unix_diag \ |
Dmitry V. Levin | b0e6115 | 2015-12-02 01:02:39 +0000 | [diff] [blame] | 117 | newfstatat \ |
Dmitry V. Levin | ea7ef93 | 2015-07-30 08:24:32 +0000 | [diff] [blame] | 118 | oldselect \ |
Dmitry V. Levin | e96cb62 | 2015-02-15 15:52:02 +0000 | [diff] [blame] | 119 | pc \ |
Dmitry V. Levin | f7423af | 2015-12-25 00:52:42 +0000 | [diff] [blame] | 120 | personality \ |
Dmitry V. Levin | 78ed3f3 | 2015-03-23 00:04:27 +0000 | [diff] [blame] | 121 | pipe \ |
Dmitry V. Levin | d9fb450 | 2015-07-30 19:46:11 +0000 | [diff] [blame] | 122 | ppoll \ |
Dmitry V. Levin | 77a1b6b | 2015-09-15 02:14:38 +0000 | [diff] [blame] | 123 | pselect6 \ |
Dmitry V. Levin | 4f46158 | 2015-11-19 19:04:32 +0000 | [diff] [blame] | 124 | readdir \ |
Gleb Fotengauer-Malinovskiy | 3af6aab | 2015-08-14 17:49:27 +0200 | [diff] [blame] | 125 | readlink \ |
| 126 | readlinkat \ |
Dmitry V. Levin | 05a0af6 | 2016-01-20 00:17:02 +0000 | [diff] [blame] | 127 | readv \ |
Dmitry V. Levin | 93c9d1c | 2016-01-20 03:26:37 +0000 | [diff] [blame] | 128 | recvmsg \ |
Dmitry V. Levin | 640623c | 2015-09-18 11:27:11 +0000 | [diff] [blame] | 129 | restart_syscall \ |
Elvira Khabirova | 3b7674c | 2015-08-21 18:49:14 +0300 | [diff] [blame] | 130 | rt_sigqueueinfo \ |
Dmitry V. Levin | 6bf08e3 | 2016-01-07 00:31:33 +0000 | [diff] [blame] | 131 | sched_xetaffinity \ |
Dmitry V. Levin | 3456bcc | 2015-07-29 07:59:56 +0000 | [diff] [blame] | 132 | sched_xetattr \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 133 | scm_rights \ |
Dmitry V. Levin | 485f8fb | 2015-03-19 00:40:49 +0000 | [diff] [blame] | 134 | seccomp \ |
Dmitry V. Levin | e837b14 | 2015-02-04 02:09:52 +0000 | [diff] [blame] | 135 | select \ |
Dmitry V. Levin | 4918285 | 2015-08-19 01:25:39 +0000 | [diff] [blame] | 136 | sendfile \ |
| 137 | sendfile64 \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 138 | set_ptracer_any \ |
| 139 | sigaction \ |
Elvira Khabirova | 10020ae | 2015-07-17 04:45:25 +0300 | [diff] [blame] | 140 | sigaltstack \ |
Dmitry V. Levin | 30ac062 | 2015-08-03 09:47:25 +0000 | [diff] [blame] | 141 | signalfd \ |
Dmitry V. Levin | 30bcb79 | 2015-03-04 12:31:18 +0000 | [diff] [blame] | 142 | sigreturn \ |
Dmitry V. Levin | 16a52b4 | 2016-02-13 22:31:30 +0000 | [diff] [blame^] | 143 | splice \ |
Masatake YAMATO | 9682107 | 2014-05-14 13:16:29 +0900 | [diff] [blame] | 144 | stack-fcall \ |
Dmitry V. Levin | a8eb52f | 2016-01-21 23:52:39 +0000 | [diff] [blame] | 145 | sleep \ |
Dmitry V. Levin | 7b01014 | 2015-01-07 19:30:37 +0000 | [diff] [blame] | 146 | stat \ |
Dmitry V. Levin | 144a9db | 2015-12-05 00:03:49 +0000 | [diff] [blame] | 147 | stat64 \ |
Dmitry V. Levin | 4176d53 | 2014-09-21 22:42:45 +0000 | [diff] [blame] | 148 | statfs \ |
Elvira Khabirova | 22d997e | 2015-08-03 06:30:49 +0300 | [diff] [blame] | 149 | sysinfo \ |
Dmitry V. Levin | f9b455c | 2015-08-18 13:25:36 +0000 | [diff] [blame] | 150 | time \ |
Dmitry V. Levin | b8f0c92 | 2015-09-16 16:31:43 +0000 | [diff] [blame] | 151 | timer_create \ |
Dmitry V. Levin | 1314098 | 2015-09-17 18:25:12 +0000 | [diff] [blame] | 152 | timer_xettime \ |
Dmitry V. Levin | 79cafcd | 2015-09-17 20:05:20 +0000 | [diff] [blame] | 153 | timerfd_xettime \ |
Eugene Syromyatnikov | 7a03605 | 2015-08-04 15:52:55 +0300 | [diff] [blame] | 154 | times \ |
Elvira Khabirova | 9d77b56 | 2015-08-21 00:09:32 +0300 | [diff] [blame] | 155 | times-fail \ |
Dmitry V. Levin | c1bb87a | 2015-12-01 00:02:45 +0000 | [diff] [blame] | 156 | truncate \ |
Dmitry V. Levin | 431d63c | 2015-12-01 00:32:40 +0000 | [diff] [blame] | 157 | truncate64 \ |
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 158 | uid \ |
Dmitry V. Levin | 80f7db1 | 2014-12-13 21:49:01 +0000 | [diff] [blame] | 159 | uid16 \ |
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 160 | uid32 \ |
Dmitry V. Levin | 495f525 | 2015-02-01 00:20:32 +0000 | [diff] [blame] | 161 | uio \ |
Dmitry V. Levin | 08a1783 | 2015-12-07 00:06:35 +0000 | [diff] [blame] | 162 | umount \ |
| 163 | umount2 \ |
Dmitry V. Levin | 4832134 | 2015-03-31 18:52:57 +0000 | [diff] [blame] | 164 | umovestr \ |
| 165 | umovestr2 \ |
Dmitry V. Levin | b60b2a5 | 2015-07-15 00:09:08 +0000 | [diff] [blame] | 166 | unix-pair-send-recv \ |
Dmitry V. Levin | a6ebdb1 | 2015-11-15 02:22:44 +0000 | [diff] [blame] | 167 | userfaultfd \ |
Dmitry V. Levin | d27ccca | 2015-07-15 09:02:17 +0000 | [diff] [blame] | 168 | utime \ |
Dmitry V. Levin | 78e48eb | 2015-07-15 15:34:59 +0000 | [diff] [blame] | 169 | utimensat \ |
Dmitry V. Levin | 78db0f2 | 2015-12-30 23:00:43 +0000 | [diff] [blame] | 170 | vfork-f \ |
Dmitry V. Levin | cde9ef7 | 2015-07-15 01:50:27 +0000 | [diff] [blame] | 171 | wait \ |
Dmitry V. Levin | 41b9fac | 2015-08-18 19:21:36 +0000 | [diff] [blame] | 172 | xattr \ |
| 173 | xet_robust_list \ |
Dmitry V. Levin | 12431f7 | 2015-09-17 20:44:22 +0000 | [diff] [blame] | 174 | xetitimer \ |
Dmitry V. Levin | f57edf4 | 2015-09-18 16:15:49 +0000 | [diff] [blame] | 175 | xettimeofday \ |
Dmitry V. Levin | 41b9fac | 2015-08-18 19:21:36 +0000 | [diff] [blame] | 176 | # end of check_PROGRAMS |
Dmitry V. Levin | cc3d591 | 2014-04-16 23:28:29 +0000 | [diff] [blame] | 177 | |
Dmitry V. Levin | 6204654 | 2016-02-09 04:16:41 +0000 | [diff] [blame] | 178 | attach_f_p_LDADD = -lrt -lpthread $(LDADD) |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 179 | clock_xettime_LDADD = -lrt $(LDADD) |
| 180 | filter_unavailable_LDADD = -lpthread $(LDADD) |
Dmitry V. Levin | 77c0cde | 2015-12-08 00:24:53 +0000 | [diff] [blame] | 181 | fstat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 182 | fstatat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 183 | ftruncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 184 | lstat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 185 | mmap64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 186 | mq_LDADD = -lrt $(LDADD) |
Dmitry V. Levin | 77c0cde | 2015-12-08 00:24:53 +0000 | [diff] [blame] | 187 | newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 188 | pc_LDADD = $(dl_LIBS) $(LDADD) |
Dmitry V. Levin | 77c0cde | 2015-12-08 00:24:53 +0000 | [diff] [blame] | 189 | stat64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 190 | statfs_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | 87e6b23 | 2016-01-02 12:05:14 +0000 | [diff] [blame] | 191 | times_LDADD = -lrt $(LDADD) |
Dmitry V. Levin | 77c0cde | 2015-12-08 00:24:53 +0000 | [diff] [blame] | 192 | truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
| 193 | uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 |
Dmitry V. Levin | b076420 | 2014-06-16 21:45:52 +0000 | [diff] [blame] | 194 | stack_fcall_SOURCES = stack-fcall.c \ |
| 195 | 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] | 196 | |
Dmitry V. Levin | 10eab9d | 2016-01-01 23:09:02 +0000 | [diff] [blame] | 197 | if USE_LIBUNWIND |
| 198 | LIBUNWIND_TESTS = strace-k.test |
| 199 | else |
| 200 | LIBUNWIND_TESTS = |
| 201 | endif |
| 202 | |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 203 | TESTS = \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 204 | strace-f.test \ |
| 205 | qual_syscall.test \ |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 206 | ksysent.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 207 | \ |
Dmitry V. Levin | 69b7307 | 2015-12-08 17:38:12 +0000 | [diff] [blame] | 208 | _newselect.test \ |
Dmitry V. Levin | dad1eef | 2015-09-16 21:58:36 +0000 | [diff] [blame] | 209 | adjtimex.test \ |
Dmitry V. Levin | 13c2173 | 2015-08-26 12:49:07 +0000 | [diff] [blame] | 210 | aio.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 211 | bexecve.test \ |
Dmitry V. Levin | ddb53dd | 2015-07-25 23:55:51 +0000 | [diff] [blame] | 212 | bpf.test \ |
Dmitry V. Levin | 4b9c68b | 2014-12-05 00:21:23 +0000 | [diff] [blame] | 213 | caps.test \ |
Dmitry V. Levin | c648b4a | 2015-09-18 14:24:51 +0000 | [diff] [blame] | 214 | clock_nanosleep.test \ |
Dmitry V. Levin | 9d4c892 | 2015-09-17 21:57:22 +0000 | [diff] [blame] | 215 | clock_xettime.test \ |
Dmitry V. Levin | c1f99f5 | 2016-02-13 03:45:32 +0000 | [diff] [blame] | 216 | copy_file_range.test \ |
Dmitry V. Levin | 495f525 | 2015-02-01 00:20:32 +0000 | [diff] [blame] | 217 | dumpio.test \ |
Dmitry V. Levin | bf62c1b | 2015-08-01 23:04:32 +0000 | [diff] [blame] | 218 | epoll_create1.test \ |
Dmitry V. Levin | c8cba99 | 2015-08-01 21:08:13 +0000 | [diff] [blame] | 219 | eventfd.test \ |
Dmitry V. Levin | 4ff687b | 2015-07-27 10:02:33 +0000 | [diff] [blame] | 220 | execve.test \ |
Dmitry V. Levin | 23168c1 | 2016-02-07 14:37:53 +0000 | [diff] [blame] | 221 | execve-v.test \ |
Dmitry V. Levin | 7c22101 | 2015-07-26 11:06:53 +0000 | [diff] [blame] | 222 | execveat.test \ |
Dmitry V. Levin | 23168c1 | 2016-02-07 14:37:53 +0000 | [diff] [blame] | 223 | execveat-v.test \ |
Dmitry V. Levin | 1ea6473 | 2015-01-10 00:08:58 +0000 | [diff] [blame] | 224 | fanotify_mark.test \ |
Dmitry V. Levin | 2154702 | 2015-12-05 00:52:01 +0000 | [diff] [blame] | 225 | fcntl.test \ |
| 226 | fcntl64.test \ |
Dmitry V. Levin | 4b3a170 | 2015-11-22 21:29:32 +0000 | [diff] [blame] | 227 | file_handle.test \ |
Dmitry V. Levin | 4b80f34 | 2015-06-29 11:57:44 +0000 | [diff] [blame] | 228 | filter-unavailable.test \ |
Dmitry V. Levin | 78db0f2 | 2015-12-30 23:00:43 +0000 | [diff] [blame] | 229 | fork-f.test \ |
Dmitry V. Levin | c863827 | 2015-12-05 00:02:44 +0000 | [diff] [blame] | 230 | fstat.test \ |
| 231 | fstat64.test \ |
Dmitry V. Levin | b0e6115 | 2015-12-02 01:02:39 +0000 | [diff] [blame] | 232 | fstatat64.test \ |
Dmitry V. Levin | c1bb87a | 2015-12-01 00:02:45 +0000 | [diff] [blame] | 233 | ftruncate.test \ |
Dmitry V. Levin | 431d63c | 2015-12-01 00:32:40 +0000 | [diff] [blame] | 234 | ftruncate64.test \ |
Dmitry V. Levin | 68d6424 | 2014-09-10 00:07:32 +0000 | [diff] [blame] | 235 | getdents.test \ |
Dmitry V. Levin | 7528a0b | 2015-11-19 16:39:32 +0000 | [diff] [blame] | 236 | getdents64.test \ |
Dmitry V. Levin | fef0907 | 2015-02-04 16:38:09 +0000 | [diff] [blame] | 237 | getrandom.test \ |
Dmitry V. Levin | 2720a61 | 2016-01-09 00:06:06 +0000 | [diff] [blame] | 238 | getxxid.test \ |
Dmitry V. Levin | 1f111cf | 2015-11-21 03:03:54 +0300 | [diff] [blame] | 239 | inet-cmsg.test \ |
Dmitry V. Levin | df7aa2b | 2015-01-19 17:02:16 +0000 | [diff] [blame] | 240 | ioctl.test \ |
Dmitry V. Levin | 7bee462 | 2015-06-08 14:19:46 +0000 | [diff] [blame] | 241 | ip_mreq.test \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 242 | ipc_msg.test \ |
Elvira Khabirova | b7699b5 | 2015-08-03 12:40:46 +0300 | [diff] [blame] | 243 | ipc_msgbuf.test \ |
Dmitry V. Levin | 12e2442 | 2015-01-12 16:08:59 +0000 | [diff] [blame] | 244 | ipc_sem.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 245 | ipc_shm.test \ |
Dmitry V. Levin | 9db0797 | 2015-12-01 00:59:26 +0000 | [diff] [blame] | 246 | llseek.test \ |
| 247 | lseek.test \ |
Dmitry V. Levin | 38e3768 | 2015-12-05 00:03:02 +0000 | [diff] [blame] | 248 | lstat.test \ |
| 249 | lstat64.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 250 | membarrier.test \ |
| 251 | memfd_create.test \ |
Dmitry V. Levin | dfea1da | 2016-01-29 01:51:54 +0000 | [diff] [blame] | 252 | mincore.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 253 | mlock2.test \ |
| 254 | mmap.test \ |
| 255 | mmap64.test \ |
| 256 | mmsg.test \ |
Elvira Khabirova | 422f793 | 2015-08-19 05:28:48 +0300 | [diff] [blame] | 257 | mq.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 258 | nanosleep.test \ |
Dmitry V. Levin | 751fcb8 | 2016-02-02 19:48:46 +0000 | [diff] [blame] | 259 | net-y-unix.test \ |
Dmitry V. Levin | 9d15ec7 | 2016-01-26 22:03:22 +0000 | [diff] [blame] | 260 | net-yy-inet.test \ |
Dmitry V. Levin | 6124cd9 | 2016-01-25 22:20:54 +0000 | [diff] [blame] | 261 | net-yy-unix.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 262 | net.test \ |
| 263 | newfstatat.test \ |
| 264 | oldselect.test \ |
| 265 | pc.test \ |
Dmitry V. Levin | f7423af | 2015-12-25 00:52:42 +0000 | [diff] [blame] | 266 | personality.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 267 | pipe.test \ |
| 268 | ppoll.test \ |
Dmitry V. Levin | 77a1b6b | 2015-09-15 02:14:38 +0000 | [diff] [blame] | 269 | pselect6.test \ |
Dmitry V. Levin | 4f46158 | 2015-11-19 19:04:32 +0000 | [diff] [blame] | 270 | readdir.test \ |
Gleb Fotengauer-Malinovskiy | 3af6aab | 2015-08-14 17:49:27 +0200 | [diff] [blame] | 271 | readlink.test \ |
| 272 | readlinkat.test \ |
Dmitry V. Levin | 05a0af6 | 2016-01-20 00:17:02 +0000 | [diff] [blame] | 273 | readv.test \ |
Dmitry V. Levin | 93c9d1c | 2016-01-20 03:26:37 +0000 | [diff] [blame] | 274 | recvmsg.test \ |
Elvira Khabirova | 3b7674c | 2015-08-21 18:49:14 +0300 | [diff] [blame] | 275 | rt_sigqueueinfo.test \ |
Dmitry V. Levin | 6bf08e3 | 2016-01-07 00:31:33 +0000 | [diff] [blame] | 276 | sched_xetaffinity.test \ |
Dmitry V. Levin | 3456bcc | 2015-07-29 07:59:56 +0000 | [diff] [blame] | 277 | sched_xetattr.test \ |
Dmitry V. Levin | f23b097 | 2014-05-29 21:35:34 +0000 | [diff] [blame] | 278 | scm_rights-fd.test \ |
Dmitry V. Levin | 485f8fb | 2015-03-19 00:40:49 +0000 | [diff] [blame] | 279 | seccomp.test \ |
Dmitry V. Levin | e837b14 | 2015-02-04 02:09:52 +0000 | [diff] [blame] | 280 | select.test \ |
Dmitry V. Levin | 4918285 | 2015-08-19 01:25:39 +0000 | [diff] [blame] | 281 | sendfile.test \ |
| 282 | sendfile64.test \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 283 | sigaction.test \ |
Elvira Khabirova | 10020ae | 2015-07-17 04:45:25 +0300 | [diff] [blame] | 284 | sigaltstack.test \ |
Dmitry V. Levin | 30ac062 | 2015-08-03 09:47:25 +0000 | [diff] [blame] | 285 | signalfd.test \ |
Dmitry V. Levin | 30bcb79 | 2015-03-04 12:31:18 +0000 | [diff] [blame] | 286 | sigreturn.test \ |
Dmitry V. Levin | 16a52b4 | 2016-02-13 22:31:30 +0000 | [diff] [blame^] | 287 | splice.test \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 288 | stat.test \ |
Dmitry V. Levin | 144a9db | 2015-12-05 00:03:49 +0000 | [diff] [blame] | 289 | stat64.test \ |
Dmitry V. Levin | 4176d53 | 2014-09-21 22:42:45 +0000 | [diff] [blame] | 290 | statfs.test \ |
Dmitry V. Levin | c9e2418 | 2015-01-29 15:19:21 +0000 | [diff] [blame] | 291 | sun_path.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 292 | sysinfo.test \ |
Dmitry V. Levin | f9b455c | 2015-08-18 13:25:36 +0000 | [diff] [blame] | 293 | time.test \ |
Dmitry V. Levin | b8f0c92 | 2015-09-16 16:31:43 +0000 | [diff] [blame] | 294 | timer_create.test \ |
Dmitry V. Levin | 1314098 | 2015-09-17 18:25:12 +0000 | [diff] [blame] | 295 | timer_xettime.test \ |
Dmitry V. Levin | 79cafcd | 2015-09-17 20:05:20 +0000 | [diff] [blame] | 296 | timerfd_xettime.test \ |
Elvira Khabirova | 9d77b56 | 2015-08-21 00:09:32 +0300 | [diff] [blame] | 297 | times-fail.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 298 | times.test \ |
Dmitry V. Levin | c1bb87a | 2015-12-01 00:02:45 +0000 | [diff] [blame] | 299 | truncate.test \ |
Dmitry V. Levin | 431d63c | 2015-12-01 00:32:40 +0000 | [diff] [blame] | 300 | truncate64.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 301 | uid.test \ |
| 302 | uid16.test \ |
| 303 | uid32.test \ |
| 304 | uio.test \ |
Dmitry V. Levin | 08a1783 | 2015-12-07 00:06:35 +0000 | [diff] [blame] | 305 | umount.test \ |
| 306 | umount2.test \ |
Dmitry V. Levin | 4832134 | 2015-03-31 18:52:57 +0000 | [diff] [blame] | 307 | umovestr.test \ |
| 308 | umovestr2.test \ |
Dmitry V. Levin | a6ebdb1 | 2015-11-15 02:22:44 +0000 | [diff] [blame] | 309 | userfaultfd.test \ |
Dmitry V. Levin | d27ccca | 2015-07-15 09:02:17 +0000 | [diff] [blame] | 310 | utime.test \ |
Dmitry V. Levin | 78e48eb | 2015-07-15 15:34:59 +0000 | [diff] [blame] | 311 | utimensat.test \ |
Dmitry V. Levin | 78db0f2 | 2015-12-30 23:00:43 +0000 | [diff] [blame] | 312 | vfork-f.test \ |
Dmitry V. Levin | cde9ef7 | 2015-07-15 01:50:27 +0000 | [diff] [blame] | 313 | wait.test \ |
Dmitry V. Levin | b60b2a5 | 2015-07-15 00:09:08 +0000 | [diff] [blame] | 314 | xattr.test \ |
Dmitry V. Levin | 41b9fac | 2015-08-18 19:21:36 +0000 | [diff] [blame] | 315 | xet_robust_list.test \ |
Dmitry V. Levin | 12431f7 | 2015-09-17 20:44:22 +0000 | [diff] [blame] | 316 | xetitimer.test \ |
Dmitry V. Levin | f57edf4 | 2015-09-18 16:15:49 +0000 | [diff] [blame] | 317 | xettimeofday.test \ |
Dmitry V. Levin | 718990f | 2015-12-08 17:33:52 +0000 | [diff] [blame] | 318 | \ |
Dmitry V. Levin | 772e32b | 2014-05-29 21:14:14 +0000 | [diff] [blame] | 319 | count.test \ |
Dmitry V. Levin | 6204654 | 2016-02-09 04:16:41 +0000 | [diff] [blame] | 320 | attach-f-p.test \ |
Dmitry V. Levin | fa8c286 | 2016-01-22 14:37:14 +0000 | [diff] [blame] | 321 | attach-p-cmd.test \ |
Dmitry V. Levin | 123d401 | 2014-02-02 15:20:11 +0000 | [diff] [blame] | 322 | detach-sleeping.test \ |
| 323 | detach-stopped.test \ |
Masatake YAMATO | 9682107 | 2014-05-14 13:16:29 +0900 | [diff] [blame] | 324 | detach-running.test \ |
Dmitry V. Levin | 7469e25 | 2016-02-05 01:19:37 +0000 | [diff] [blame] | 325 | opipe.test \ |
Dmitry V. Levin | a88c72e | 2016-02-08 16:47:40 +0000 | [diff] [blame] | 326 | redirect.test \ |
Dmitry V. Levin | 25c804c | 2015-04-07 21:18:23 +0000 | [diff] [blame] | 327 | restart_syscall.test \ |
Dmitry V. Levin | 10eab9d | 2016-01-01 23:09:02 +0000 | [diff] [blame] | 328 | $(LIBUNWIND_TESTS) |
| 329 | |
| 330 | XFAIL_TESTS_ = |
| 331 | XFAIL_TESTS_m32 = $(LIBUNWIND_TESTS) |
| 332 | XFAIL_TESTS_mx32 = $(LIBUNWIND_TESTS) |
| 333 | XFAIL_TESTS = $(XFAIL_TESTS_$(MPERS_NAME)) |
Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 334 | |
Dmitry V. Levin | 25c804c | 2015-04-07 21:18:23 +0000 | [diff] [blame] | 335 | TEST_LOG_COMPILER = env |
| 336 | AM_TEST_LOG_FLAGS = STRACE_ARCH=$(ARCH) $(srcdir)/run.sh |
Dmitry V. Levin | f60347d | 2013-06-18 15:28:47 +0000 | [diff] [blame] | 337 | |
Dmitry V. Levin | 226bf1c | 2015-03-18 19:14:02 +0000 | [diff] [blame] | 338 | EXTRA_DIST = init.sh run.sh match.awk \ |
Dmitry V. Levin | 4b9c68b | 2014-12-05 00:21:23 +0000 | [diff] [blame] | 339 | caps.awk \ |
Dmitry V. Levin | 495f525 | 2015-02-01 00:20:32 +0000 | [diff] [blame] | 340 | dumpio.expected \ |
Dmitry V. Levin | c8cba99 | 2015-08-01 21:08:13 +0000 | [diff] [blame] | 341 | eventfd.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 342 | fanotify_mark.expected \ |
Dmitry V. Levin | 4b80f34 | 2015-06-29 11:57:44 +0000 | [diff] [blame] | 343 | filter-unavailable.expected \ |
Dmitry V. Levin | b0e6115 | 2015-12-02 01:02:39 +0000 | [diff] [blame] | 344 | fstatat.c \ |
Dmitry V. Levin | c863827 | 2015-12-05 00:02:44 +0000 | [diff] [blame] | 345 | fstatx.c \ |
Dmitry V. Levin | 7bee462 | 2015-06-08 14:19:46 +0000 | [diff] [blame] | 346 | ip_mreq.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 347 | ipc.sh \ |
Elvira Khabirova | b7699b5 | 2015-08-03 12:40:46 +0300 | [diff] [blame] | 348 | ipc_msgbuf.expected \ |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 349 | ksysent.sed \ |
Dmitry V. Levin | 38e3768 | 2015-12-05 00:03:02 +0000 | [diff] [blame] | 350 | lstatx.c \ |
Dmitry V. Levin | 95b84ea | 2015-07-28 23:03:41 +0000 | [diff] [blame] | 351 | memfd_create.expected \ |
Elvira Khabirova | 422f793 | 2015-08-19 05:28:48 +0300 | [diff] [blame] | 352 | mq.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 353 | net.expected \ |
Dmitry V. Levin | ea7ef93 | 2015-07-30 08:24:32 +0000 | [diff] [blame] | 354 | oldselect.expected \ |
Dmitry V. Levin | 78ed3f3 | 2015-03-23 00:04:27 +0000 | [diff] [blame] | 355 | pipe.expected \ |
Dmitry V. Levin | d9fb450 | 2015-07-30 19:46:11 +0000 | [diff] [blame] | 356 | ppoll.expected \ |
| 357 | ppoll-v.expected \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 358 | sigaction.awk \ |
Elvira Khabirova | 10020ae | 2015-07-17 04:45:25 +0300 | [diff] [blame] | 359 | sigaltstack.expected \ |
Dmitry V. Levin | 30ac062 | 2015-08-03 09:47:25 +0000 | [diff] [blame] | 360 | signalfd.expected \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 361 | statfs.expected \ |
Dmitry V. Levin | cc2baf3 | 2015-12-05 00:01:56 +0000 | [diff] [blame] | 362 | statx.sh \ |
Dmitry V. Levin | 2154702 | 2015-12-05 00:52:01 +0000 | [diff] [blame] | 363 | struct_flock.c \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 364 | sun_path.expected \ |
Dmitry V. Levin | 1da7c95 | 2014-12-13 18:24:13 +0000 | [diff] [blame] | 365 | uid.awk \ |
Dmitry V. Levin | 8f54664 | 2015-03-17 17:07:57 +0000 | [diff] [blame] | 366 | uio.expected \ |
Dmitry V. Levin | 4832134 | 2015-03-31 18:52:57 +0000 | [diff] [blame] | 367 | umovestr.expected \ |
Dmitry V. Levin | cde9ef7 | 2015-07-15 01:50:27 +0000 | [diff] [blame] | 368 | wait.expected \ |
Dmitry V. Levin | b60b2a5 | 2015-07-15 00:09:08 +0000 | [diff] [blame] | 369 | xattr.expected \ |
Dmitry V. Levin | 69b7307 | 2015-12-08 17:38:12 +0000 | [diff] [blame] | 370 | xselect.c \ |
Dmitry V. Levin | cc2baf3 | 2015-12-05 00:01:56 +0000 | [diff] [blame] | 371 | xstatx.c \ |
Dmitry V. Levin | fdfa722 | 2014-09-23 00:14:04 +0000 | [diff] [blame] | 372 | $(TESTS) |
Dmitry V. Levin | 4e4b5ad | 2011-02-27 00:28:50 +0000 | [diff] [blame] | 373 | |
Dmitry V. Levin | bab4ef4 | 2015-12-10 02:06:25 +0000 | [diff] [blame] | 374 | ksysent.h: $(srcdir)/ksysent.sed |
| 375 | echo '#include <asm/unistd.h>' | \ |
| 376 | $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -dD - > $@.t1 |
| 377 | LC_COLLATE=C sed -n -f $(srcdir)/ksysent.sed < $@.t1 > $@.t2 |
| 378 | mv -f $@.t2 $@ |
| 379 | rm -f $@.t1 |
| 380 | |
| 381 | BUILT_SOURCES = ksysent.h |
| 382 | CLEANFILES = ksysent.h $(TESTS:=.tmp) |