mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Add a src.conf option to build and install the DTrace test suite.
Reviewed by: gnn, ngie Differential Revision: https://reviews.freebsd.org/D3195
This commit is contained in:
parent
0996b15464
commit
d912066c36
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286174
@ -1,5 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/dtrace
|
||||
|
||||
PROG= dtrace
|
||||
@ -22,4 +24,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
|
||||
|
||||
LIBADD= dtrace
|
||||
|
||||
.if ${MK_DTRACE_TESTS} != "no"
|
||||
SUBDIR+= tests
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -178,6 +178,7 @@ __DEFAULT_YES_OPTIONS = \
|
||||
__DEFAULT_NO_OPTIONS = \
|
||||
BSD_GREP \
|
||||
CLANG_EXTRAS \
|
||||
DTRACE_TESTS \
|
||||
EISA \
|
||||
HESIOD \
|
||||
LLDB \
|
||||
@ -318,6 +319,10 @@ MK_KERBEROS:= no
|
||||
MK_AUTHPF:= no
|
||||
.endif
|
||||
|
||||
.if ${MK_TESTS} == "no"
|
||||
MK_DTRACE_TESTS:= no
|
||||
.endif
|
||||
|
||||
.if ${MK_TEXTPROC} == "no"
|
||||
MK_GROFF:= no
|
||||
.endif
|
||||
|
5
tools/build/options/WITH_DTRACE_TESTS
Normal file
5
tools/build/options/WITH_DTRACE_TESTS
Normal file
@ -0,0 +1,5 @@
|
||||
.\" $FreeBSD$
|
||||
Set to build and install the DTrace test suite in
|
||||
.Pa /usr/tests/cddl/usr.sbin/dtrace .
|
||||
This test suite is considered experimental on architectures other than
|
||||
amd64/amd64 and running it may cause system instability.
|
Loading…
Reference in New Issue
Block a user