svn commit: r298866 - user/ngie/release-pkg-fix-tests/share/mk
Garrett Cooper
ngie at FreeBSD.org
Sat Apr 30 22:17:22 UTC 2016
Author: ngie
Date: Sat Apr 30 22:17:20 2016
New Revision: 298866
URL: https://svnweb.freebsd.org/changeset/base/298866
Log:
Automatically append TESTS to FILESGROUPS and move Kyuafile to TESTS
This fixes installing Kyuafiles in subdirectories, e.g. bin/sh/tests/builtins,
after the release-pkg merge
Modified:
user/ngie/release-pkg-fix-tests/share/mk/suite.test.mk
Modified: user/ngie/release-pkg-fix-tests/share/mk/suite.test.mk
==============================================================================
--- user/ngie/release-pkg-fix-tests/share/mk/suite.test.mk Sat Apr 30 22:04:30 2016 (r298865)
+++ user/ngie/release-pkg-fix-tests/share/mk/suite.test.mk Sat Apr 30 22:17:20 2016 (r298866)
@@ -46,8 +46,9 @@ KYUAFILE?= auto
#TEST_METADATA.<test-program>+= key="value"
.if ${KYUAFILE:tl} != "no"
-FILES+= Kyuafile
-FILESDIR_Kyuafile= ${TESTSDIR}
+FILESGROUPS+= TESTS
+TESTS+= Kyuafile
+TESTSDIR_Kyuafile= ${TESTSDIR}
.endif
.for _T in ${_TESTS}
More information about the svn-src-user
mailing list