freebsd-src/unit-tests/directive-if.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

19 lines
1.1 KiB
Plaintext

make: "directive-if.mk" line 13: 0 evaluates to false.
make: "directive-if.mk" line 17: 1 evaluates to true.
make: "directive-if.mk" line 41: Unknown directive "ifx"
make: "directive-if.mk" line 43: This is not conditional.
make: "directive-if.mk" line 45: if-less else
make: "directive-if.mk" line 47: This is not conditional.
make: "directive-if.mk" line 49: if-less endif
make: "directive-if.mk" line 53: Malformed conditional ()
make: "directive-if.mk" line 63: Quotes in plain words are probably a mistake.
make: "directive-if.mk" line 72: Don't do this, always put a space after a directive.
make: "directive-if.mk" line 76: Don't do this, always put a space after a directive.
make: "directive-if.mk" line 82: Don't do this, always put a space around comparison operators.
make: "directive-if.mk" line 88: Don't do this, always put a space after a directive.
make: "directive-if.mk" line 92: Don't do this, always put a space after a directive.
make: "directive-if.mk" line 100: Unknown directive "ifn"
make: Fatal errors encountered -- cannot continue
make: stopped in unit-tests
exit status 1