blob: 1d19d60a021f74e3f13b0e868292ab81490cc0ff [file] [log] [blame]
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +00001# Automake input for strace tests.
2
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +00003AM_CFLAGS = $(WARN_CFLAGS)
Dmitry V. Levin0f4ad302015-02-22 02:13:04 +00004AM_CPPFLAGS = -I$(top_builddir)/$(OS)/$(ARCH) \
5 -I$(top_srcdir)/$(OS)/$(ARCH) \
6 -I$(top_builddir)/$(OS) \
7 -I$(top_srcdir)/$(OS)
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +00008
Dmitry V. Levinf23b0972014-05-29 21:35:34 +00009check_PROGRAMS = \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000010 caps \
11 fanotify_mark \
12 getrandom \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000013 inet-accept-connect-send-recv \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +000014 ioctl \
Dmitry V. Levin12e24422015-01-12 16:08:59 +000015 ipc_msg \
Dmitry V. Levin12e24422015-01-12 16:08:59 +000016 ipc_sem \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000017 ipc_shm \
Masatake YAMATO993198d2014-11-07 01:23:27 +090018 mmsg \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000019 net-accept-connect \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000020 netlink_inet_diag \
Dmitry V. Levin6b5df322014-12-25 00:11:40 +000021 netlink_unix_diag \
Dmitry V. Levine96cb622015-02-15 15:52:02 +000022 pc \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000023 scm_rights \
Dmitry V. Levine837b142015-02-04 02:09:52 +000024 select \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000025 set_ptracer_any \
26 sigaction \
Masatake YAMATO96821072014-05-14 13:16:29 +090027 stack-fcall \
Dmitry V. Levin7b010142015-01-07 19:30:37 +000028 stat \
29 stat32 \
Dmitry V. Levin4176d532014-09-21 22:42:45 +000030 statfs \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +000031 uid \
Dmitry V. Levin80f7db12014-12-13 21:49:01 +000032 uid16 \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +000033 uid32 \
Dmitry V. Levin495f5252015-02-01 00:20:32 +000034 uio \
35 unix-pair-send-recv
Dmitry V. Levincc3d5912014-04-16 23:28:29 +000036
Dmitry V. Levin7b010142015-01-07 19:30:37 +000037stat_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levin4176d532014-09-21 22:42:45 +000038statfs_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levincc3d5912014-04-16 23:28:29 +000039uio_CFLAGS = $(AM_CFLAGS) -D_FILE_OFFSET_BITS=64
Dmitry V. Levinb0764202014-06-16 21:45:52 +000040stack_fcall_SOURCES = stack-fcall.c \
41 stack-fcall-0.c stack-fcall-1.c stack-fcall-2.c stack-fcall-3.c
Dmitry V. Levin47b0dcc2013-05-07 23:32:01 +000042
Dmitry V. Levin123d4012014-02-02 15:20:11 +000043TESTS = \
44 ptrace_setoptions.test \
45 strace-f.test \
46 qual_syscall.test \
Dmitry V. Levinaa801922015-02-07 18:48:55 +000047 bexecve.test \
Dmitry V. Levin4b9c68b2014-12-05 00:21:23 +000048 caps.test \
Dmitry V. Levin495f5252015-02-01 00:20:32 +000049 dumpio.test \
Dmitry V. Levin1ea64732015-01-10 00:08:58 +000050 fanotify_mark.test \
Dmitry V. Levin68d64242014-09-10 00:07:32 +000051 getdents.test \
Dmitry V. Levinfef09072015-02-04 16:38:09 +000052 getrandom.test \
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +000053 ioctl.test \
Dmitry V. Levin12e24422015-01-12 16:08:59 +000054 ipc_msg.test \
55 ipc_shm.test \
56 ipc_sem.test \
Dmitry V. Levinf23b0972014-05-29 21:35:34 +000057 scm_rights-fd.test \
Dmitry V. Levine837b142015-02-04 02:09:52 +000058 select.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +000059 sigaction.test \
60 stat.test \
Dmitry V. Levin7b010142015-01-07 19:30:37 +000061 stat32-v.test \
62 stat64-v.test \
Dmitry V. Levin4176d532014-09-21 22:42:45 +000063 statfs.test \
Masatake YAMATO993198d2014-11-07 01:23:27 +090064 mmsg.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +000065 net.test \
Philippe Ombredanne894c7e32014-02-01 09:57:45 -080066 net-fd.test \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000067 net-yy.test \
Dmitry V. Levine96cb622015-02-15 15:52:02 +000068 pc.test \
Dmitry V. Levinc9e24182015-01-29 15:19:21 +000069 sun_path.test \
Masatake YAMATO6077ad82014-12-24 20:59:32 +090070 unix-yy.test \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +000071 uid.test \
Dmitry V. Levin80f7db12014-12-13 21:49:01 +000072 uid16.test \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +000073 uid32.test \
Dmitry V. Levincc3d5912014-04-16 23:28:29 +000074 uio.test \
Dmitry V. Levin772e32b2014-05-29 21:14:14 +000075 count.test \
Dmitry V. Levin123d4012014-02-02 15:20:11 +000076 detach-sleeping.test \
77 detach-stopped.test \
Masatake YAMATO96821072014-05-14 13:16:29 +090078 detach-running.test \
79 strace-k.test
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +000080
Philippe Ombredanne894c7e32014-02-01 09:57:45 -080081net-fd.log: net.log
82
Dmitry V. Levin123d4012014-02-02 15:20:11 +000083TEST_LOG_COMPILER = $(srcdir)/run.sh
Dmitry V. Levinf60347d2013-06-18 15:28:47 +000084
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000085EXTRA_DIST = init.sh run.sh \
Dmitry V. Levin4b9c68b2014-12-05 00:21:23 +000086 caps.awk \
Dmitry V. Levin495f5252015-02-01 00:20:32 +000087 dumpio.expected \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000088 getdents.awk \
Dmitry V. Levin7e79a8b2015-02-23 21:42:16 +000089 getdents.out \
Dmitry V. Levine3e64a12015-02-23 21:47:15 +000090 getrandom.awk \
Masatake YAMATO993198d2014-11-07 01:23:27 +090091 mmsg.expected \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000092 net-yy-accept.awk \
93 net-yy-connect.awk \
Dmitry V. Levine837b142015-02-04 02:09:52 +000094 select.awk \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000095 sigaction.awk \
Dmitry V. Levin1da7c952014-12-13 18:24:13 +000096 uid.awk \
Masatake YAMATO6077ad82014-12-24 20:59:32 +090097 unix-yy-accept.awk \
98 unix-yy-connect.awk \
Dmitry V. Levinfdfa7222014-09-23 00:14:04 +000099 $(TESTS)
Dmitry V. Levin4e4b5ad2011-02-27 00:28:50 +0000100
Dmitry V. Levin107ceb92013-06-18 13:35:29 +0000101CLEANFILES = $(TESTS:=.tmp)