Hook up the existing i386 DTrace tests to the build.
Now that it's relatively easy to do so, we might as well. MFC after: 1 week Event: Waterloo Hackathon 2019
This commit is contained in:
parent
b64aaee48a
commit
edbec18e34
@ -4,6 +4,10 @@
|
||||
|
||||
TESTS_SUBDIRS+= common
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "i386"
|
||||
TESTS_SUBDIRS+= i386
|
||||
.endif
|
||||
|
||||
.PATH: ${SRCTOP}/tests
|
||||
KYUAFILE= yes
|
||||
|
||||
|
12
cddl/usr.sbin/dtrace/tests/i386/Makefile
Normal file
12
cddl/usr.sbin/dtrace/tests/i386/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
TESTSDIR= ${TESTSBASE}/cddl/usr.sbin/dtrace/i386
|
||||
TESTS_SUBDIRS+= arrays \
|
||||
funcs \
|
||||
pid \
|
||||
ustack
|
||||
|
||||
.PATH: ${.CURDIR:H:H:H:H:H}/tests
|
||||
KYUAFILE= YES
|
||||
|
||||
.include <bsd.test.mk>
|
19
cddl/usr.sbin/dtrace/tests/i386/arrays/Makefile
Normal file
19
cddl/usr.sbin/dtrace/tests/i386/arrays/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
PACKAGE= tests
|
||||
|
||||
${PACKAGE}FILES= \
|
||||
tst.uregsarray.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../dtrace.test.mk"
|
22
cddl/usr.sbin/dtrace/tests/i386/funcs/Makefile
Normal file
22
cddl/usr.sbin/dtrace/tests/i386/funcs/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
PACKAGE= tests
|
||||
|
||||
${PACKAGE}FILES= \
|
||||
tst.badcopyin.d \
|
||||
tst.badcopyinstr.d \
|
||||
tst.badcopyout.d \
|
||||
tst.badcopyoutstr.d \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../dtrace.test.mk"
|
23
cddl/usr.sbin/dtrace/tests/i386/pid/Makefile
Normal file
23
cddl/usr.sbin/dtrace/tests/i386/pid/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
PACKAGE= tests
|
||||
|
||||
${PACKAGE}FILES= \
|
||||
tst.badinstr.d \
|
||||
tst.branch.d \
|
||||
tst.embedded.d \
|
||||
tst.ret.d \
|
||||
tst.retlist.ksh \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
|
||||
|
||||
|
||||
.include "../../dtrace.test.mk"
|
26
cddl/usr.sbin/dtrace/tests/i386/ustack/Makefile
Normal file
26
cddl/usr.sbin/dtrace/tests/i386/ustack/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#
|
||||
# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh.
|
||||
#
|
||||
|
||||
PACKAGE= tests
|
||||
|
||||
${PACKAGE}FILES= \
|
||||
annotated_helper.d \
|
||||
helper_helper.d \
|
||||
tst.annotated.d \
|
||||
tst.annotated.d.out \
|
||||
tst.circstack.d \
|
||||
tst.helper.d \
|
||||
tst.helper.d.out \
|
||||
|
||||
TESTEXES= \
|
||||
|
||||
|
||||
CFILES= \
|
||||
tst.annotated.c \
|
||||
tst.helper.c \
|
||||
|
||||
|
||||
.include "../../dtrace.test.mk"
|
@ -238,6 +238,16 @@
|
||||
version
|
||||
..
|
||||
..
|
||||
i386
|
||||
arrays
|
||||
..
|
||||
funcs
|
||||
..
|
||||
pid
|
||||
..
|
||||
ustack
|
||||
..
|
||||
..
|
||||
..
|
||||
zfsd
|
||||
..
|
||||
|
Loading…
Reference in New Issue
Block a user