freebsd-src/unit-tests/varmod-match.exp
Simon J. Gerraty 302da1a3d3 Import bmake-20201101
Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py
2020-11-07 19:39:21 +00:00

13 lines
621 B
Plaintext

CondParser_Eval: ${NUMBERS:M[A-Z]*} != "One Two Three Four"
lhs = "One Two Three Four", rhs = "One Two Three Four", op = !=
CondParser_Eval: ${NUMBERS:M[^A-Z]*} != "five six seven"
lhs = "five six seven", rhs = "five six seven", op = !=
CondParser_Eval: ${NUMBERS:M[^s]*[ex]} != "One Three five"
lhs = "One Three five", rhs = "One Three five", op = !=
CondParser_Eval: ${:U****************:M****************b}
CondParser_Eval: ${:Ua \$ sign:M*$$*} != "\$"
lhs = "$", rhs = "$", op = !=
CondParser_Eval: ${:Ua \$ sign any-asterisk:M*\$*} != "any-asterisk"
lhs = "any-asterisk", rhs = "any-asterisk", op = !=
exit status 0