freebsd-src/unit-tests/var-recursive.exp
Simon J. Gerraty cdde9e894d Import bmake-20220204
Features of interest:

Allow setting target local variables (similar to gmake)

In META_MODE .MAKE.META.CMP_FILTER can be used for filtering commands
before comparion.

contrib/bmake/mk/cc-wrap.mk is an example of using these

See ChangeLog for the gory details.
2022-02-05 12:03:50 -08:00

20 lines
451 B
Plaintext

make: "var-recursive.mk" line 20: still there
Variable DIRECT is recursive.
in var-recursive.mk:21
make: stopped in unit-tests
Variable INDIRECT1 is recursive.
in var-recursive.mk:28
make: stopped in unit-tests
make: "var-recursive.mk" line 35: ok
Variable V is recursive.
in var-recursive.mk:43
make: stopped in unit-tests
: OK
In a command near "var-recursive.mk" line 55: Variable VAR is recursive.
make: stopped in unit-tests
exit status 0