Home | History | Annotate | Download | only in unit-tests
History log of /src/usr.bin/make/unit-tests/suff.exp
RevisionDateAuthorComments
 1.4  14-Jan-2025  rillig branches: 1.4.4;
make: clarify that undefined expressions are allowed in dependencies
 1.3  14-Jan-2025  rillig make: simplify parsing of dependency lines

The evaluation modes that allow or deny undefined variables have the same
effect in this case, as Var_Subst does not return an error marker.
 1.2  12-Jan-2025  rillig tests/make: fix suffix rule test in ATF mode
 1.1  10-Jan-2025  rillig tests/make: test expressions based on undefined variables

When an undefined variable is used in a conditional, make complains about
"Malformed conditional", which is wrong since the conditional is
well-formed but errors out during evaluation.

In order to fix this wrong error message and preserve the remaining
behavior, cover the places in which an expression is evaluated with
undefined expressions being an error (VARE_EVAL_DEFINED), but with
neither producing an error message nor handling errors. This combination
results in the same behavior as evaluating the expressions in the mode
that allows undefined variables to be used in expressions.
 1.4.4.2  02-Aug-2025  perseant Sync with HEAD
 1.4.4.1  14-Jan-2025  perseant file suff.exp was added on branch perseant-exfatfs on 2025-08-02 05:58:37 +0000

RSS XML Feed