mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 19:28:36 +00:00
make_check: Deobit fmake support
We don't need make_check to work in a fmake world anymore (nor have we in the past decade). Just remove it here. Note in passing it's been 10 years since we've added a new test here and maybe we're past the need for this part of the build (or need to revamp it to include all the features added to bmake since 2016 that the build system silently depends on). Sponsored by: Netflix Reviewed by: brooks Pull Request: https://github.com/freebsd/freebsd-src/pull/980
This commit is contained in:
parent
55197eade4
commit
2c5dcc5447
|
@ -58,10 +58,6 @@ all:
|
|||
@echo "ok 14 shell # Test shell detected no regression."
|
||||
@${SMAKE} shell_1 || ${SMAKE} failure
|
||||
@echo "ok 15 shell_1 # Test shell_1 detected no regression."
|
||||
.if !defined(.PARSEDIR)
|
||||
@${SMAKE} shell_2 || ${SMAKE} failure
|
||||
@echo "ok 16 shell_2 # Test shell_2 detected no regression."
|
||||
.endif
|
||||
|
||||
.if make(C_check)
|
||||
C_check:
|
||||
|
@ -101,7 +97,6 @@ notdef:
|
|||
.endif
|
||||
|
||||
.if make(modifiers)
|
||||
.if defined(.PARSEDIR)
|
||||
# check if bmake can expand plain variables
|
||||
.MAKE.EXPAND_VARIABLES= yes
|
||||
x!= ${SMAKE} -V .CURDIR:H
|
||||
|
@ -109,21 +104,6 @@ modifiers:
|
|||
.if ${.CURDIR:H} != "$x"
|
||||
@false
|
||||
.endif
|
||||
.else
|
||||
# See if make(1) supports the C modifier.
|
||||
modifiers: dollarV
|
||||
@if ${SMAKE} -V .CURDIR:C/.// 2>&1 >/dev/null | \
|
||||
grep -q "Unknown modifier 'C'"; then \
|
||||
false; \
|
||||
fi
|
||||
|
||||
# check that make -V '${VAR}' works
|
||||
V_expn != V_OK=ok ${SMAKE} -r -f /dev/null -V '$${V_OK}'
|
||||
dollarV:
|
||||
.if ${V_expn} == ""
|
||||
@false
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if make(arith_expr)
|
||||
|
|
Loading…
Reference in a new issue