1# Automake input for strace tests. 2 3OS = linux 4ARCH = @arch@ 5AM_CFLAGS = $(WARN_CFLAGS) 6AM_CPPFLAGS = -I$(top_builddir)/$(OS)/$(ARCH) \ 7 -I$(top_srcdir)/$(OS)/$(ARCH) \ 8 -I$(top_builddir)/$(OS) \ 9 -I$(top_srcdir)/$(OS) 10 11check_PROGRAMS = \ 12 caps \ 13 fanotify_mark \ 14 getrandom \ 15 inet-accept-connect-send-recv \ 16 ioctl \ 17 ipc_msg \ 18 ipc_sem \ 19 ipc_shm \ 20 mmap \ 21 mmap64 \ 22 mmsg \ 23 net-accept-connect \ 24 netlink_inet_diag \ 25 netlink_unix_diag \ 26 pc \ 27 pipe \ 28 scm_rights \ 29 seccomp \ 30 select \ 31 set_ptracer_any \ 32 sigaction \ 33 sigreturn \ 34 stack-fcall \ 35 stat \ 36 stat32 \ 37 statfs \ 38 uid \ 39 uid16 \ 40 uid32 \ 41 uio \ 42 umovestr \ 43 umovestr2 \ 44 unix-pair-send-recv 45 46mmap64_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64 47pc_LDADD = $(dl_LIBS) 48stat_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64 49statfs_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64 50uio_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64 51stack_fcall_SOURCES = stack-fcall.c \ 52 stack-fcall-0.c stack-fcall-1.c stack-fcall-2.c stack-fcall-3.c 53 54TESTS = \ 55 strace-f.test \ 56 qual_syscall.test \ 57 bexecve.test \ 58 caps.test \ 59 dumpio.test \ 60 fanotify_mark.test \ 61 getdents.test \ 62 getrandom.test \ 63 ioctl.test \ 64 ipc_msg.test \ 65 ipc_shm.test \ 66 ipc_sem.test \ 67 scm_rights-fd.test \ 68 seccomp.test \ 69 select.test \ 70 sigaction.test \ 71 sigreturn.test \ 72 stat.test \ 73 stat32-v.test \ 74 stat64-v.test \ 75 statfs.test \ 76 mmap.test \ 77 mmap64.test \ 78 mmsg.test \ 79 net.test \ 80 net-fd.test \ 81 net-yy.test \ 82 pipe.test \ 83 pc.test \ 84 sun_path.test \ 85 umovestr.test \ 86 umovestr2.test \ 87 unix-yy.test \ 88 uid.test \ 89 uid16.test \ 90 uid32.test \ 91 uio.test \ 92 count.test \ 93 detach-sleeping.test \ 94 detach-stopped.test \ 95 detach-running.test \ 96 restart_syscall.test \ 97 strace-k.test 98 99net-fd.log: net.log 100 101TEST_LOG_COMPILER = env 102AM_TEST_LOG_FLAGS = STRACE_ARCH=$(ARCH) $(srcdir)/run.sh 103 104EXTRA_DIST = init.sh run.sh match.awk \ 105 caps.awk \ 106 dumpio.expected \ 107 fanotify_mark.expected \ 108 getdents.awk \ 109 getdents.out \ 110 getrandom.awk \ 111 ioctl.expected \ 112 ipc.sh \ 113 mmsg.expected \ 114 net.expected \ 115 net-fd.expected \ 116 net-yy-accept.awk \ 117 net-yy-connect.awk \ 118 pipe.expected \ 119 restart_syscall.expected \ 120 restart_syscall_unknown.expected \ 121 select.awk \ 122 sigaction.awk \ 123 statfs.expected \ 124 sun_path.expected \ 125 uid.awk \ 126 uio.expected \ 127 umovestr.expected \ 128 unix-yy-accept.awk \ 129 unix-yy-connect.awk \ 130 $(TESTS) 131 132CLEANFILES = $(TESTS:=.tmp) 133