diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2020-04-29 21:12:32 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2020-04-29 21:12:32 +0000 |
commit | b155807e48a200e33a780d78a57c8865a0f104b2 (patch) | |
tree | 17e7b4df68d9107761807e5b1a188e3e46be8609 /cddl/usr.sbin/dtrace/tests/dtrace.test.mk | |
parent | 74787ef47b79791a7f0a8660e2573cdc9e8c1d0b (diff) | |
download | src-test2-b155807e48a200e33a780d78a57c8865a0f104b2.tar.gz src-test2-b155807e48a200e33a780d78a57c8865a0f104b2.zip |
Notes
Diffstat (limited to 'cddl/usr.sbin/dtrace/tests/dtrace.test.mk')
-rw-r--r-- | cddl/usr.sbin/dtrace/tests/dtrace.test.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cddl/usr.sbin/dtrace/tests/dtrace.test.mk b/cddl/usr.sbin/dtrace/tests/dtrace.test.mk index aaeba61e103e..0da134c0cbc2 100644 --- a/cddl/usr.sbin/dtrace/tests/dtrace.test.mk +++ b/cddl/usr.sbin/dtrace/tests/dtrace.test.mk @@ -1,7 +1,8 @@ # $FreeBSD$ TESTGROUP= ${.CURDIR:H:T}/${.CURDIR:T} -TESTSRC= ${SRCTOP}/cddl/contrib/opensolaris/cmd/dtrace/test/tst/${TESTGROUP} +TESTBASE= ${SRCTOP}/cddl/contrib/opensolaris/cmd/dtrace/test/tst +TESTSRC= ${TESTBASE}/${TESTGROUP} TESTSDIR= ${TESTSBASE}/cddl/usr.sbin/dtrace/${TESTGROUP} FILESGROUPS+= ${TESTGROUP}EXE @@ -18,7 +19,8 @@ TEST_METADATA.t_dtrace_contrib+= required_user="root" GENTEST?= ${.CURDIR:H:H}/tools/gentest.sh EXCLUDE= ${.CURDIR:H:H}/tools/exclude.sh ${TESTWRAPPER}.sh: ${GENTEST} ${EXCLUDE} ${${PACKAGE}FILES} - sh ${GENTEST} -e ${EXCLUDE} ${TESTGROUP} ${${PACKAGE}FILES:S/ */ /} > ${.TARGET} + env TESTBASE=${TESTBASE:Q} \ + sh ${GENTEST} -e ${EXCLUDE} ${TESTGROUP} ${${PACKAGE}FILES:S/ */ /} > ${.TARGET} CLEANFILES+= ${TESTWRAPPER}.sh |