Annotation of src/tests/lib/libc/sys/Makefile, Revision 1.54
1.54 ! kamil 1: # $NetBSD: Makefile,v 1.53 2018/08/21 10:38:09 christos Exp $
1.1 christos 2:
3: MKMAN= no
4:
5: .include <bsd.own.mk>
6:
1.7 jym 7: .include "../arch/Makefile.exec_prot"
8:
1.1 christos 9: TESTSDIR= ${TESTSBASE}/lib/libc/sys
10:
1.4 jruoho 11: TESTS_C+= t_access
1.38 martin 12: TESTS_C+= t_bind
1.4 jruoho 13: TESTS_C+= t_chroot
1.13 jruoho 14: TESTS_C+= t_clock_gettime
1.45 njoly 15: TESTS_C+= t_clock_nanosleep
1.2 pgoyette 16: TESTS_C+= t_clone
1.19 jruoho 17: TESTS_C+= t_connect
1.4 jruoho 18: TESTS_C+= t_dup
1.51 kamil 19: TESTS_C+= t_fork
1.4 jruoho 20: TESTS_C+= t_fsync
1.5 jruoho 21: TESTS_C+= t_getcontext
1.4 jruoho 22: TESTS_C+= t_getgroups
23: TESTS_C+= t_getitimer
24: TESTS_C+= t_getlogin
25: TESTS_C+= t_getpid
26: TESTS_C+= t_getrusage
27: TESTS_C+= t_getsid
1.43 njoly 28: TESTS_C+= t_getsockname
1.4 jruoho 29: TESTS_C+= t_gettimeofday
30: TESTS_C+= t_issetugid
1.20 christos 31: TESTS_C+= t_kevent
1.4 jruoho 32: TESTS_C+= t_kill
33: TESTS_C+= t_link
1.19 jruoho 34: TESTS_C+= t_listen
1.21 jruoho 35: TESTS_C+= t_lwp_ctl
1.23 martin 36: TESTS_C+= t_lwp_create
1.36 christos 37: TESTS_C+= t_minherit
1.4 jruoho 38: TESTS_C+= t_mincore
1.12 jruoho 39: TESTS_C+= t_mkdir
1.4 jruoho 40: TESTS_C+= t_mkfifo
41: TESTS_C+= t_mknod
1.22 jruoho 42: TESTS_C+= t_mlock
1.4 jruoho 43: TESTS_C+= t_mmap
44: TESTS_C+= t_mprotect
1.18 jruoho 45: TESTS_C+= t_msgctl
46: TESTS_C+= t_msgget
47: TESTS_C+= t_msgrcv
48: TESTS_C+= t_msgsnd
1.4 jruoho 49: TESTS_C+= t_msync
50: TESTS_C+= t_nanosleep
1.11 jruoho 51: TESTS_C+= t_pipe
1.17 christos 52: TESTS_C+= t_pipe2
1.4 jruoho 53: TESTS_C+= t_poll
1.37 christos 54: TESTS_C+= t_posix_fallocate
1.49 kamil 55: TESTS_C+= t_ptrace
56: TESTS_C+= t_ptrace_wait
57: TESTS_C+= t_ptrace_wait3
58: TESTS_C+= t_ptrace_wait4
59: TESTS_C+= t_ptrace_wait6
60: TESTS_C+= t_ptrace_waitid
61: TESTS_C+= t_ptrace_waitpid
1.26 christos 62: TESTS_C+= t_recvmmsg
1.4 jruoho 63: TESTS_C+= t_revoke
64: TESTS_C+= t_select
1.53 christos 65: TESTS_C+= t_sendmmsg
66: TESTS_C+= t_sendrecv
1.4 jruoho 67: TESTS_C+= t_setrlimit
68: TESTS_C+= t_setuid
1.16 jruoho 69: TESTS_C+= t_sigaction
1.3 pgoyette 70: TESTS_C+= t_sigqueue
1.32 martin 71: TESTS_C+= t_sigtimedwait
1.19 jruoho 72: TESTS_C+= t_socketpair
1.28 manu 73: TESTS_C+= t_swapcontext
1.4 jruoho 74: TESTS_C+= t_stat
1.52 martin 75: TESTS_C+= t_syscall
1.4 jruoho 76: TESTS_C+= t_timer_create
77: TESTS_C+= t_truncate
1.15 jruoho 78: TESTS_C+= t_ucontext
1.4 jruoho 79: TESTS_C+= t_umask
80: TESTS_C+= t_unlink
1.51 kamil 81: TESTS_C+= t_vfork
1.42 christos 82: TESTS_C+= t_wait
1.44 kamil 83: TESTS_C+= t_wait_noproc
84: TESTS_C+= t_wait_noproc_wnohang
1.14 jruoho 85: TESTS_C+= t_write
1.4 jruoho 86:
1.7 jym 87: SRCS.t_mprotect= t_mprotect.c ${SRCS_EXEC_PROT}
88:
1.4 jruoho 89: LDADD.t_getpid+= -lpthread
1.27 christos 90:
1.54 ! kamil 91: LDFLAGS.t_ptrace_wait+= -pthread
! 92: LDFLAGS.t_ptrace_wait3+= -pthread
! 93: LDFLAGS.t_ptrace_wait4+= -pthread
! 94: LDFLAGS.t_ptrace_wait6+= -pthread
! 95: LDFLAGS.t_ptrace_waitid+= -pthread
! 96: LDFLAGS.t_ptrace_waitpid+= -pthread
! 97:
1.39 matt 98: .if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
1.40 christos 99: CPPFLAGS.t_posix_fadvise.c += -D_KERNTYPES
1.27 christos 100: TESTS_C+= t_posix_fadvise
1.35 he 101: LDADD.t_posix_fadvise+= -lrumpvfs -lrump -lrumpuser -lrump -lpthread
1.27 christos 102: .endif
1.4 jruoho 103:
1.49 kamil 104: CPPFLAGS.t_lwp_create.c += -D_KERNTYPES
105: CPPFLAGS.t_ptrace_wait.c += -D_KERNTYPES
106: CPPFLAGS.t_ptrace_wait3.c += -D_KERNTYPES
107: CPPFLAGS.t_ptrace_wait4.c += -D_KERNTYPES
108: CPPFLAGS.t_ptrace_wait6.c += -D_KERNTYPES
109: CPPFLAGS.t_ptrace_waitid.c += -D_KERNTYPES
110: CPPFLAGS.t_ptrace_waitpid.c += -D_KERNTYPES
1.50 kamil 111: CPPFLAGS.t_ucontext.c += -D_KERNTYPES
1.41 christos 112:
1.46 christos 113: FILES= truncate_test.root_owned
1.47 pgoyette 114: FILESBUILD= yes
1.48 martin 115: FILESDIR_truncate_test.root_owned= ${TESTSDIR}
116: FILESMODE_truncate_test.root_owned= 0600
117: FILESOWNER_truncate_test.root_owned= root
118: FILESGRP_truncate_test.root_owned= wheel
1.46 christos 119:
120: CLEANFILES= truncate_test.root_owned
121: truncate_test.root_owned:
122: dd if=/dev/null bs=1 count=1 of=${.TARGET}
123:
1.4 jruoho 124: WARNS= 4
1.1 christos 125:
126: .include <bsd.test.mk>
CVSweb <webmaster@jp.NetBSD.org>