Home | History | Annotate | Download | only in ptrace
      1 #
      2 #  Copyright (c) International Business Machines  Corp., 2001
      3 #
      4 #  This program is free software;  you can redistribute it and/or modify
      5 #  it under the terms of the GNU General Public License as published by
      6 #  the Free Software Foundation; either version 2 of the License, or
      7 #  (at your option) any later version.
      8 #
      9 #  This program is distributed in the hope that it will be useful,
     10 #  but WITHOUT ANY WARRANTY;  without even the implied warranty of
     11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
     12 #  the GNU General Public License for more details.
     13 #
     14 #  You should have received a copy of the GNU General Public License
     15 #  along with this program;  if not, write to the Free Software
     16 #  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     17 #
     18 
     19 top_srcdir		?= ../../../..
     20 
     21 include $(top_srcdir)/include/mk/testcases.mk
     22 
     23 # - ptrace06 is a broken test ; it hangs the target consistently, chewing up
     24 #   CPU. See: `Issue 3 - ptrace06 hung for 7 hours' --
     25 # http://sourceforge.net/mailarchive/forum.php?thread_name=364299f40910062300s65c43c93w9cccdfe8835c2334%40mail.gmail.com&forum_name=ltp-list
     26 # - simple_tracer is a utility that Mike Frysinger added that shouldn't be
     27 #   compiled by default:
     28 #
     29 # gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
     30 # -I//scratch/ltp-install6/include -I../../../../include
     31 #  -L//scratch/ltp-install6/lib   simple_tracer.c  -laio -lltp -o
     32 #  simple_tracer
     33 #  In file included from simple_tracer.c:25:
     34 #  syscalls.h:6:23: error: _syscalls.h: No such file or directory
     35 #  make[4]: *** [simple_tracer] Error 1
     36 #  make[4]: Leaving directory
     37 #  `/scratch/ltp-dev2/ltp/testcases/kernel/syscalls/ptrace'
     38 #  make[3]: *** [all] Error 2
     39 #  make[3]: Leaving directory `/scratch/ltp-dev2/ltp/testcases/kernel/syscalls'
     40 #  make[2]: *** [all] Error 2
     41 #  make[2]: Leaving directory `/scratch/ltp-dev2/ltp/testcases/kernel'
     42 #  make[1]: *** [all] Error 2
     43 #  make[1]: Leaving directory `/scratch/ltp-dev2/ltp/testcases'
     44 #  make: *** [testcases-all] Error 2
     45 #
     46 
     47 FILTER_OUT_MAKE_TARGETS	:= ptrace06 simple_tracer
     48 
     49 include $(top_srcdir)/include/mk/generic_leaf_target.mk
     50