]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Put the test suite in its own tests.txz distribution file.
authorJulio Merino <jmmv@FreeBSD.org>
Tue, 10 Jun 2014 17:04:30 +0000 (17:04 +0000)
committerJulio Merino <jmmv@FreeBSD.org>
Tue, 10 Jun 2014 17:04:30 +0000 (17:04 +0000)
commite8a34402f296b676f3ebdcb49a40b9ad9ea2bfa9
tree14219a1465e8bb9a0c64910c555829e62c34c481
parent404874659fd4022929e587ef848879fa301b174d
Put the test suite in its own tests.txz distribution file.

Force all the contents of /usr/tests to go into a separate distribution
file so that users of binary releases can easily choose to not install it.

To make this possible, we need two fixes:
- bsd.subdir.mk needs to properly honor NO_SUBDIR in all cases so that we
  do not recurse into 'tests' subdirectories when we needn't.  Otherwise,
  we end up with some Kyuafiles in base.txz.
- etc/Makefile needs to skip installing tests in its 'distribute' target
  so that a Kyuafile doesn't leak into base.txz.

Approved by: gjb
Makefile.inc1
etc/Makefile
share/mk/bsd.subdir.mk
share/mk/bsd.test.mk