mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Subsume the functionality of MK_ATF into MK_TESTS.
There is no reason to keep the two knobs separate: if tests are enabled, the ATF libraries are required; and if tests are disabled, the ATF libraries are not necessary. Keeping the two just serves to complicate the build. Reviewed by: freebsd-testing Approved by: rpaulo (mentor)
This commit is contained in:
parent
ee695f67a6
commit
e01d128a42
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257850
@ -1492,7 +1492,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \
|
||||
${_secure_lib_libcrypto} ${_lib_libldns} \
|
||||
${_secure_lib_libssh} ${_secure_lib_libssl}
|
||||
|
||||
.if ${MK_ATF} != "no"
|
||||
.if ${MK_TESTS} != "no"
|
||||
_lib_atf= lib/atf
|
||||
.endif
|
||||
|
||||
|
6
UPDATING
6
UPDATING
@ -31,6 +31,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW:
|
||||
disable the most expensive debugging functionality run
|
||||
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
|
||||
|
||||
20131108:
|
||||
The WITHOUT_ATF build knob has been removed and its functionality
|
||||
has been subsumed into the more generic WITHOUT_TESTS. If you were
|
||||
using the former to disable the build of the ATF libraries, you
|
||||
should change your settings to use the latter.
|
||||
|
||||
20131025:
|
||||
The default version of mtree is nmtree which is obtained from
|
||||
NetBSD. The output is generally the same, but may vary
|
||||
|
@ -140,10 +140,6 @@ _csu=csu
|
||||
|
||||
# NB: keep these sorted by MK_* knobs
|
||||
|
||||
.if ${MK_ATF} != "no"
|
||||
_atf= atf
|
||||
.endif
|
||||
|
||||
.if ${MK_ATM} != "no"
|
||||
_libngatm= libngatm
|
||||
.endif
|
||||
@ -253,6 +249,10 @@ _libsmutil= libsmutil
|
||||
_libtelnet= libtelnet
|
||||
.endif
|
||||
|
||||
.if ${MK_TESTS} != "no"
|
||||
_atf= atf
|
||||
.endif
|
||||
|
||||
.if ${MK_UNBOUND} != "no"
|
||||
_libunbound= libunbound
|
||||
.endif
|
||||
|
@ -33,10 +33,6 @@ SUBDIR= ${_atf} \
|
||||
ulog-helper \
|
||||
${_ypxfr}
|
||||
|
||||
.if ${MK_ATF} != "no"
|
||||
_atf= atf
|
||||
.endif
|
||||
|
||||
.if ${MK_AT} != "no"
|
||||
_atrun= atrun
|
||||
.endif
|
||||
@ -76,4 +72,8 @@ _smrsh= smrsh
|
||||
_telnetd= telnetd
|
||||
.endif
|
||||
|
||||
.if ${MK_TESTS} != "no"
|
||||
_atf= atf
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
@ -9,7 +9,7 @@ SUBDIR= ${_IPv6} \
|
||||
${_llvm} \
|
||||
${_roffdocs}
|
||||
|
||||
.if ${MK_ATF} != "no"
|
||||
.if ${MK_TESTS} != "no"
|
||||
_atf= atf
|
||||
.endif
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
MAN= builtin.1 intro.1
|
||||
|
||||
.if ${MK_ATF} != "no"
|
||||
.if ${MK_TESTS} != "no"
|
||||
ATF= ${.CURDIR}/../../../contrib/atf
|
||||
.PATH: ${ATF}/doc
|
||||
MAN+= atf-test-program.1
|
||||
|
@ -829,7 +829,7 @@ _nvram2env.4= nvram2env.4
|
||||
SUBDIR= man4.${MACHINE_CPUARCH}
|
||||
.endif
|
||||
|
||||
.if ${MK_ATF} != "no"
|
||||
.if ${MK_TESTS} != "no"
|
||||
ATF= ${.CURDIR}/../../../contrib/atf
|
||||
.PATH: ${ATF}/doc
|
||||
_atf_test_case.4= atf-test-case.4
|
||||
|
@ -43,7 +43,7 @@ FILES= \
|
||||
NO_OBJ=
|
||||
FILESDIR= ${BINDIR}/mk
|
||||
|
||||
.if ${MK_ATF} != "no"
|
||||
.if ${MK_TESTS} != "no"
|
||||
FILES+= atf.test.mk
|
||||
.endif
|
||||
|
||||
|
@ -68,54 +68,6 @@ OLD_FILES+=usr/share/man/man1/batch.1.gz
|
||||
OLD_FILES+=usr/share/man/man8/atrun.8.gz
|
||||
.endif
|
||||
|
||||
.if ${MK_ATF} == no
|
||||
OLD_FILES+=usr/bin/atf-sh
|
||||
OLD_DIRS+=usr/include/atf-c
|
||||
OLD_FILES+=usr/include/atf-c/build.h
|
||||
OLD_FILES+=usr/include/atf-c/check.h
|
||||
OLD_FILES+=usr/include/atf-c/config.h
|
||||
OLD_FILES+=usr/include/atf-c/defs.h
|
||||
OLD_FILES+=usr/include/atf-c/error.h
|
||||
OLD_FILES+=usr/include/atf-c/error_fwd.h
|
||||
OLD_FILES+=usr/include/atf-c/macros.h
|
||||
OLD_FILES+=usr/include/atf-c/tc.h
|
||||
OLD_FILES+=usr/include/atf-c/tp.h
|
||||
OLD_FILES+=usr/include/atf-c/utils.h
|
||||
OLD_FILES+=usr/include/atf-c.h
|
||||
OLD_DIRS+=usr/include/atf-c++
|
||||
OLD_FILES+=usr/include/atf-c++/build.hpp
|
||||
OLD_FILES+=usr/include/atf-c++/check.hpp
|
||||
OLD_FILES+=usr/include/atf-c++/config.hpp
|
||||
OLD_FILES+=usr/include/atf-c++/macros.hpp
|
||||
OLD_FILES+=usr/include/atf-c++/tests.hpp
|
||||
OLD_FILES+=usr/include/atf-c++/utils.hpp
|
||||
OLD_FILES+=usr/include/atf-c++.hpp
|
||||
OLD_FILES+=usr/lib/libatf-c_p.a
|
||||
OLD_FILES+=usr/lib/libatf-c.so.1
|
||||
OLD_FILES+=usr/lib/libatf-c.so
|
||||
OLD_FILES+=usr/lib/libatf-c++.a
|
||||
OLD_FILES+=usr/lib/libatf-c++_p.a
|
||||
OLD_FILES+=usr/lib/libatf-c++.so.1
|
||||
OLD_FILES+=usr/lib/libatf-c++.so
|
||||
OLD_FILES+=usr/lib/libatf-c.a
|
||||
OLD_FILES+=usr/libexec/atf-check
|
||||
OLD_DIRS+=usr/share/atf
|
||||
OLD_FILES+=usr/share/atf/libatf-sh.subr
|
||||
OLD_DIRS+=usr/share/doc/atf
|
||||
OLD_FILES+=usr/share/doc/atf/AUTHORS
|
||||
OLD_FILES+=usr/share/doc/atf/COPYING
|
||||
OLD_FILES+=usr/share/doc/atf/NEWS
|
||||
OLD_FILES+=usr/share/doc/atf/README
|
||||
OLD_FILES+=usr/share/man/man1/atf-check.1.gz
|
||||
OLD_FILES+=usr/share/man/man1/atf-sh.1.gz
|
||||
OLD_FILES+=usr/share/man/man1/atf-test-program.1.gz
|
||||
OLD_FILES+=usr/share/man/man3/atf-c-api.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/atf-c++-api.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/atf-sh-api.3.gz
|
||||
OLD_FILES+=usr/share/man/man4/atf-test-case.4.gz
|
||||
OLD_FILES+=usr/share/mk/atf.test.mk
|
||||
.endif
|
||||
|
||||
.if ${MK_ATM} == no
|
||||
OLD_FILES+=rescue/atmconfig
|
||||
OLD_FILES+=sbin/atmconfig
|
||||
@ -4104,6 +4056,58 @@ OLD_FILES+=usr/share/man/man1/telnet.1.gz
|
||||
OLD_FILES+=usr/share/man/man8/telnetd.8.gz
|
||||
.endif
|
||||
|
||||
.if ${MK_TESTS} == no
|
||||
# ATF libraries.
|
||||
OLD_FILES+=usr/bin/atf-sh
|
||||
OLD_DIRS+=usr/include/atf-c
|
||||
OLD_FILES+=usr/include/atf-c/build.h
|
||||
OLD_FILES+=usr/include/atf-c/check.h
|
||||
OLD_FILES+=usr/include/atf-c/config.h
|
||||
OLD_FILES+=usr/include/atf-c/defs.h
|
||||
OLD_FILES+=usr/include/atf-c/error.h
|
||||
OLD_FILES+=usr/include/atf-c/error_fwd.h
|
||||
OLD_FILES+=usr/include/atf-c/macros.h
|
||||
OLD_FILES+=usr/include/atf-c/tc.h
|
||||
OLD_FILES+=usr/include/atf-c/tp.h
|
||||
OLD_FILES+=usr/include/atf-c/utils.h
|
||||
OLD_FILES+=usr/include/atf-c.h
|
||||
OLD_DIRS+=usr/include/atf-c++
|
||||
OLD_FILES+=usr/include/atf-c++/build.hpp
|
||||
OLD_FILES+=usr/include/atf-c++/check.hpp
|
||||
OLD_FILES+=usr/include/atf-c++/config.hpp
|
||||
OLD_FILES+=usr/include/atf-c++/macros.hpp
|
||||
OLD_FILES+=usr/include/atf-c++/tests.hpp
|
||||
OLD_FILES+=usr/include/atf-c++/utils.hpp
|
||||
OLD_FILES+=usr/include/atf-c++.hpp
|
||||
OLD_FILES+=usr/lib/libatf-c_p.a
|
||||
OLD_FILES+=usr/lib/libatf-c.so.1
|
||||
OLD_FILES+=usr/lib/libatf-c.so
|
||||
OLD_FILES+=usr/lib/libatf-c++.a
|
||||
OLD_FILES+=usr/lib/libatf-c++_p.a
|
||||
OLD_FILES+=usr/lib/libatf-c++.so.1
|
||||
OLD_FILES+=usr/lib/libatf-c++.so
|
||||
OLD_FILES+=usr/lib/libatf-c.a
|
||||
OLD_FILES+=usr/libexec/atf-check
|
||||
OLD_DIRS+=usr/share/atf
|
||||
OLD_FILES+=usr/share/atf/libatf-sh.subr
|
||||
OLD_DIRS+=usr/share/doc/atf
|
||||
OLD_FILES+=usr/share/doc/atf/AUTHORS
|
||||
OLD_FILES+=usr/share/doc/atf/COPYING
|
||||
OLD_FILES+=usr/share/doc/atf/NEWS
|
||||
OLD_FILES+=usr/share/doc/atf/README
|
||||
OLD_FILES+=usr/share/man/man1/atf-check.1.gz
|
||||
OLD_FILES+=usr/share/man/man1/atf-sh.1.gz
|
||||
OLD_FILES+=usr/share/man/man1/atf-test-program.1.gz
|
||||
OLD_FILES+=usr/share/man/man3/atf-c-api.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/atf-c++-api.3.gz
|
||||
OLD_FILES+=usr/share/man/man3/atf-sh-api.3.gz
|
||||
OLD_FILES+=usr/share/man/man4/atf-test-case.4.gz
|
||||
OLD_FILES+=usr/share/mk/atf.test.mk
|
||||
|
||||
# Test suite.
|
||||
# TODO(jmmv): To be filled in.
|
||||
.endif
|
||||
|
||||
#.if ${MK_TOOLCHAIN} == no
|
||||
# to be filled in
|
||||
#.endif
|
||||
|
@ -210,10 +210,6 @@ SUBDIR= alias \
|
||||
SUBDIR+= at
|
||||
.endif
|
||||
|
||||
.if ${MK_ATF} != "no"
|
||||
_atf= atf
|
||||
.endif
|
||||
|
||||
.if ${MK_ATM} != "no"
|
||||
SUBDIR+= atm
|
||||
.endif
|
||||
@ -332,6 +328,10 @@ SUBDIR+= vacation
|
||||
SUBDIR+= telnet
|
||||
.endif
|
||||
|
||||
.if ${MK_TESTS} != "no"
|
||||
_atf= atf
|
||||
.endif
|
||||
|
||||
.if ${MK_TEXTPROC} != "no"
|
||||
SUBDIR+= checknr
|
||||
SUBDIR+= colcrt
|
||||
|
Loading…
Reference in New Issue
Block a user