From 6bbc783f48498b808e19db4441299dc7d85a278b Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Sat, 5 Sep 2020 16:11:04 +0000 Subject: Import bmake-20200902 Lots of code refactoring, simplification and cleanup. Lots of new unit-tests providing much higher code coverage. All courtesy of rillig at netbsd. Other significant changes: o new read-only variable .SHELL which provides the path of the shell used to run scripts (as defined by the .SHELL target). o new debug option -dl: LINT mode, does the equivalent of := for all variable assignments so that file and line number are reported for variable parse errors. --- unit-tests/lint.exp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 unit-tests/lint.exp (limited to 'unit-tests/lint.exp') diff --git a/unit-tests/lint.exp b/unit-tests/lint.exp new file mode 100755 index 000000000000..9cd0eeb1ddf4 --- /dev/null +++ b/unit-tests/lint.exp @@ -0,0 +1,4 @@ +make: In the :@ modifier of "VAR", the variable name "${:Ubar:S,b,v,}" must not contain a dollar. +y@:Q} +xvaluey +exit status 0 -- cgit v1.2.3