android13/external/ltp/testcases/kernel/syscalls/ptrace/Makefile

35 lines
1.4 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) International Business Machines Corp., 2001
top_srcdir ?= ../../../..
include $(top_srcdir)/include/mk/testcases.mk
# - ptrace06 is a broken test ; it hangs the target consistently, chewing up
# CPU. See: `Issue 3 - ptrace06 hung for 7 hours' --
# http://sourceforge.net/mailarchive/forum.php?thread_name=364299f40910062300s65c43c93w9cccdfe8835c2334%40mail.gmail.com&forum_name=ltp-list
# - simple_tracer is a utility that Mike Frysinger added that shouldn't be
# compiled by default:
#
# gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
# -I//scratch/ltp-install6/include -I../../../../include
# -L//scratch/ltp-install6/lib simple_tracer.c -laio -lltp -o
# simple_tracer
# In file included from simple_tracer.c:25:
# syscalls.h:6:23: error: _syscalls.h: No such file or directory
# make[4]: *** [simple_tracer] Error 1
# make[4]: Leaving directory
# `/scratch/ltp-dev2/ltp/testcases/kernel/syscalls/ptrace'
# make[3]: *** [all] Error 2
# make[3]: Leaving directory `/scratch/ltp-dev2/ltp/testcases/kernel/syscalls'
# make[2]: *** [all] Error 2
# make[2]: Leaving directory `/scratch/ltp-dev2/ltp/testcases/kernel'
# make[1]: *** [all] Error 2
# make[1]: Leaving directory `/scratch/ltp-dev2/ltp/testcases'
# make: *** [testcases-all] Error 2
#
FILTER_OUT_MAKE_TARGETS := ptrace06 simple_tracer
include $(top_srcdir)/include/mk/generic_leaf_target.mk