diff options
author | gjb <gjb@FreeBSD.org> | 2013-11-12 00:25:07 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2013-11-12 00:25:07 +0000 |
commit | 11ded97b797eebb6d485fc86799613d73253188b (patch) | |
tree | 7af72f2ecf660203a32c1f2849e7625ffe3e1f32 /tools/build | |
parent | b136bd67d8cc696144429d797db551188cb0bdc7 (diff) | |
download | FreeBSD-src-11ded97b797eebb6d485fc86799613d73253188b.zip FreeBSD-src-11ded97b797eebb6d485fc86799613d73253188b.tar.gz |
Silence more 'make {check,delete-old{,libs}}' output if $DESTDIR/usr/tests
does not exist.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'tools/build')
-rw-r--r-- | tools/build/mk/OptionalObsoleteFiles.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index bb8e1a8..8cee751 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -4105,11 +4105,13 @@ OLD_FILES+=usr/share/man/man4/atf-test-case.4.gz OLD_FILES+=usr/share/mk/atf.test.mk # Test suite. +. if(exists(${DESTDIR}/usr/tests/)) TESTS_DIRS!=find ${DESTDIR}/usr/tests -type d | sed -e 's,^${DESTDIR}/,,'; echo OLD_DIRS+=${TESTS_DIRS} TESTS_FILES!=find ${DESTDIR}/usr/tests \! -type d | sed -e 's,^${DESTDIR}/,,'; echo OLD_FILES+=${TESTS_FILES} -.endif +. endif +.endif # Test suite. #.if ${MK_TOOLCHAIN} == no # to be filled in |