Annotation of src/tests/lib/libc/sys/Makefile, Revision 1.62
1.62 ! christos 1: # $NetBSD: Makefile,v 1.61 2020/03/06 18:32:35 kamil 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
1.61 kamil 56: TESTS_C+= t_ptrace_sigchld
1.49 kamil 57: TESTS_C+= t_ptrace_wait
58: TESTS_C+= t_ptrace_wait3
59: TESTS_C+= t_ptrace_wait4
60: TESTS_C+= t_ptrace_wait6
61: TESTS_C+= t_ptrace_waitid
62: TESTS_C+= t_ptrace_waitpid
1.26 christos 63: TESTS_C+= t_recvmmsg
1.4 jruoho 64: TESTS_C+= t_revoke
65: TESTS_C+= t_select
1.53 christos 66: TESTS_C+= t_sendmmsg
67: TESTS_C+= t_sendrecv
1.4 jruoho 68: TESTS_C+= t_setrlimit
69: TESTS_C+= t_setuid
1.16 jruoho 70: TESTS_C+= t_sigaction
1.3 pgoyette 71: TESTS_C+= t_sigqueue
1.32 martin 72: TESTS_C+= t_sigtimedwait
1.19 jruoho 73: TESTS_C+= t_socketpair
1.28 manu 74: TESTS_C+= t_swapcontext
1.4 jruoho 75: TESTS_C+= t_stat
1.52 martin 76: TESTS_C+= t_syscall
1.4 jruoho 77: TESTS_C+= t_timer_create
78: TESTS_C+= t_truncate
1.15 jruoho 79: TESTS_C+= t_ucontext
1.4 jruoho 80: TESTS_C+= t_umask
81: TESTS_C+= t_unlink
1.51 kamil 82: TESTS_C+= t_vfork
1.42 christos 83: TESTS_C+= t_wait
1.44 kamil 84: TESTS_C+= t_wait_noproc
85: TESTS_C+= t_wait_noproc_wnohang
1.14 jruoho 86: TESTS_C+= t_write
1.4 jruoho 87:
1.62 ! christos 88: SRCS.t_mprotect= t_mprotect.c ${SRCS_EXEC_PROT} t_mprotect_helper.c
1.7 jym 89:
1.4 jruoho 90: LDADD.t_getpid+= -lpthread
1.27 christos 91:
1.61 kamil 92: LDADD.t_ptrace_sigchld+= -pthread -lm
93:
1.57 mgorny 94: LDADD.t_ptrace_wait+= -pthread -lm -lelf
95: LDADD.t_ptrace_wait3+= -pthread -lm -lelf
96: LDADD.t_ptrace_wait4+= -pthread -lm -lelf
97: LDADD.t_ptrace_wait6+= -pthread -lm -lelf
98: LDADD.t_ptrace_waitid+= -pthread -lm -lelf
99: LDADD.t_ptrace_waitpid+= -pthread -lm -lelf
1.54 kamil 100:
1.39 matt 101: .if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
1.40 christos 102: CPPFLAGS.t_posix_fadvise.c += -D_KERNTYPES
1.27 christos 103: TESTS_C+= t_posix_fadvise
1.60 christos 104: LDADD.t_posix_fadvise+= ${LIBRUMPBASE}
1.27 christos 105: .endif
1.4 jruoho 106:
1.49 kamil 107: CPPFLAGS.t_lwp_create.c += -D_KERNTYPES
1.55 kamil 108: CPPFLAGS.t_ptrace_wait.c += -D_KERNTYPES -D__TEST_FENV
109: CPPFLAGS.t_ptrace_wait3.c += -D_KERNTYPES -D__TEST_FENV
110: CPPFLAGS.t_ptrace_wait4.c += -D_KERNTYPES -D__TEST_FENV
111: CPPFLAGS.t_ptrace_wait6.c += -D_KERNTYPES -D__TEST_FENV
112: CPPFLAGS.t_ptrace_waitid.c += -D_KERNTYPES -D__TEST_FENV
113: CPPFLAGS.t_ptrace_waitpid.c += -D_KERNTYPES -D__TEST_FENV
1.50 kamil 114: CPPFLAGS.t_ucontext.c += -D_KERNTYPES
1.41 christos 115:
1.58 kamil 116: .if ${MKSANITIZER:Uno} != "yes" && ${MKLIBCSANITIZER:Uno} != "yes"
117: CPPFLAGS.t_ptrace_wait.c += -DENABLE_TESTS
118: CPPFLAGS.t_ptrace_wait3.c += -DENABLE_TESTS
119: CPPFLAGS.t_ptrace_wait4.c += -DENABLE_TESTS
120: CPPFLAGS.t_ptrace_wait6.c += -DENABLE_TESTS
121: CPPFLAGS.t_ptrace_waitid.c += -DENABLE_TESTS
122: CPPFLAGS.t_ptrace_waitpid.c += -DENABLE_TESTS
123: .endif
124:
1.46 christos 125: FILES= truncate_test.root_owned
1.47 pgoyette 126: FILESBUILD= yes
1.48 martin 127: FILESDIR_truncate_test.root_owned= ${TESTSDIR}
128: FILESMODE_truncate_test.root_owned= 0600
129: FILESOWNER_truncate_test.root_owned= root
130: FILESGRP_truncate_test.root_owned= wheel
1.46 christos 131:
132: CLEANFILES= truncate_test.root_owned
133: truncate_test.root_owned:
134: dd if=/dev/null bs=1 count=1 of=${.TARGET}
135:
1.4 jruoho 136: WARNS= 4
1.1 christos 137:
138: .include <bsd.test.mk>
CVSweb <webmaster@jp.NetBSD.org>