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