Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152089176
D3195.id7526.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3195.id7526.diff
View Options
Index: cddl/usr.sbin/dtrace/Makefile
===================================================================
--- cddl/usr.sbin/dtrace/Makefile
+++ cddl/usr.sbin/dtrace/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <src.opts.mk>
+
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/dtrace
PROG= dtrace
@@ -22,4 +24,8 @@
LIBADD= dtrace
+.if ${MK_DTRACE_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
Index: share/mk/src.opts.mk
===================================================================
--- share/mk/src.opts.mk
+++ share/mk/src.opts.mk
@@ -178,6 +178,7 @@
__DEFAULT_NO_OPTIONS = \
BSD_GREP \
CLANG_EXTRAS \
+ DTRACE_TESTS \
EISA \
HESIOD \
LLDB \
@@ -319,6 +320,10 @@
MK_AUTHPF:= no
.endif
+.if ${MK_TESTS} == "no"
+MK_DTRACE_TESTS:= no
+.endif
+
.if ${MK_TEXTPROC} == "no"
MK_GROFF:= no
.endif
Index: tools/build/options/WITH_DTRACE_TESTS
===================================================================
--- /dev/null
+++ tools/build/options/WITH_DTRACE_TESTS
@@ -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 may cause system instability.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 13, 4:03 PM (9 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31364084
Default Alt Text
D3195.id7526.diff (1 KB)
Attached To
Mode
D3195: src.conf: add a WITH_DTRACE_TESTS option
Attached
Detach File
Event Timeline
Log In to Comment