Author: ngie
Date: Sat Feb 18 21:47:32 2017
New Revision: 313925
URL: https://svnweb.freebsd.org/changeset/base/313925

Log:
  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

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Sat Feb 18 21:41:50 2017        (r313924)
+++ head/Makefile.inc1  Sat Feb 18 21:47:32 2017        (r313925)
@@ -1503,7 +1503,7 @@ checkworld: .PHONY
                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
 
 #
 #
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to