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