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:
markj 2019-05-22 03:42:03 +00:00
parent b64aaee48a
commit edbec18e34
7 changed files with 116 additions and 0 deletions

View File

@ -4,6 +4,10 @@
TESTS_SUBDIRS+= common
.if ${MACHINE_CPUARCH} == "i386"
TESTS_SUBDIRS+= i386
.endif
.PATH: ${SRCTOP}/tests
KYUAFILE= yes

View 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>

View 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"

View 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"

View 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"

View 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"

View File

@ -238,6 +238,16 @@
version
..
..
i386
arrays
..
funcs
..
pid
..
ustack
..
..
..
zfsd
..