Include ${LOCALBASE}/bin in $PATH when running "make checkworld"

Some of the tests in devel/atf // devel/kyua rely on the tools being in $PATH,
which means that the tests fail when run via "make checkworld" because $PATH
is restricted to exclude directory elements like "${LOCALBASE}/bin".

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-02-18 21:47:32 +00:00
parent 66df1425ff
commit 74464d3ca4

View File

@ -1503,7 +1503,7 @@ checkworld: .PHONY
echo "You need kyua (devel/kyua) to run the test suite." | /usr/bin/fmt; \ echo "You need kyua (devel/kyua) to run the test suite." | /usr/bin/fmt; \
exit 1; \ exit 1; \
fi fi
${_+_}${LOCALBASE}/bin/kyua test -k ${TESTSBASE}/Kyuafile ${_+_}PATH="$$PATH:${LOCALBASE}/bin" kyua test -k ${TESTSBASE}/Kyuafile
# #
# #