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$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <src.opts.mk>
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/dtrace
|
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/dtrace
|
||||||
|
|
||||||
PROG= dtrace
|
PROG= dtrace
|
||||||
@ -22,4 +24,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
|
|||||||
|
|
||||||
LIBADD= dtrace
|
LIBADD= dtrace
|
||||||
|
|
||||||
|
.if ${MK_DTRACE_TESTS} != "no"
|
||||||
|
SUBDIR+= tests
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -178,6 +178,7 @@ __DEFAULT_YES_OPTIONS = \
|
|||||||
__DEFAULT_NO_OPTIONS = \
|
__DEFAULT_NO_OPTIONS = \
|
||||||
BSD_GREP \
|
BSD_GREP \
|
||||||
CLANG_EXTRAS \
|
CLANG_EXTRAS \
|
||||||
|
DTRACE_TESTS \
|
||||||
EISA \
|
EISA \
|
||||||
HESIOD \
|
HESIOD \
|
||||||
LLDB \
|
LLDB \
|
||||||
@ -318,6 +319,10 @@ MK_KERBEROS:= no
|
|||||||
MK_AUTHPF:= no
|
MK_AUTHPF:= no
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_TESTS} == "no"
|
||||||
|
MK_DTRACE_TESTS:= no
|
||||||
|
.endif
|
||||||
|
|
||||||
.if ${MK_TEXTPROC} == "no"
|
.if ${MK_TEXTPROC} == "no"
|
||||||
MK_GROFF:= no
|
MK_GROFF:= no
|
||||||
.endif
|
.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