diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-25 00:42:44 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-25 00:42:44 +0000 |
commit | e13dc0131627347529a3e93e6da9f0ab619d080c (patch) | |
tree | 3b1d8d4b5932d45bc9c8cf1b9aaa7f11d8ed1d18 | |
parent | c0b794149e3db0bf55c61caf853fd9af85538b45 (diff) | |
download | FreeBSD-src-e13dc0131627347529a3e93e6da9f0ab619d080c.zip FreeBSD-src-e13dc0131627347529a3e93e6da9f0ab619d080c.tar.gz |
MFC r313924,r313925:
r313924:
Quote path to doxygen/kyua in test(1) -x check
This is a basic stopgap against ${LOCALBASE} containing spaces in it
r313925:
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".
-rw-r--r-- | Makefile.inc1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 4593536..a9f6c0e 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1199,11 +1199,11 @@ packagekernel: # Run test suite on installed world. # checkworld: .PHONY - @if [ ! -x ${LOCALBASE}/bin/kyua ]; then \ + @if [ ! -x "${LOCALBASE}/bin/kyua" ]; then \ echo "You need kyua (devel/kyua) to run the test suite." | /usr/bin/fmt; \ exit 1; \ fi - ${_+_}${LOCALBASE}/bin/kyua test -k ${TESTSBASE}/Kyuafile + ${_+_}PATH="$$PATH:${LOCALBASE}/bin" kyua test -k ${TESTSBASE}/Kyuafile # # @@ -1212,7 +1212,7 @@ checkworld: .PHONY # Build the API documentation with doxygen # doxygen: .PHONY - @if [ ! -x ${LOCALBASE}/bin/doxygen ]; then \ + @if [ ! -x "${LOCALBASE}/bin/doxygen" ]; then \ echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \ exit 1; \ fi |