Module Name: src Committed By: rillig Date: Sat Nov 27 23:56:11 UTC 2021
Modified Files: src/usr.bin/make/unit-tests: opt-debug-errors-jobs.exp opt-debug-errors-jobs.mk Log Message: tests/make: demonstrate unhelpful debug log in case of errors The releng build job that runs lint fails. It outputs the usage message of lint, which doesn't include the failing option. After that, make outputs: *** Failed target: lint-cgdconfig *** Failed commands: ${LINT} ${LINTFLAGS} \ ${_LDFLAGS.${:Ucgdconfig}:C/-L[ ]*/-L/Wg:M-L*} \ ${LOBJS.${:Ucgdconfig}} ${_LDADD.${:Ucgdconfig}} Make doesn't output the expanded command, therefore the log doesn't show the offending option '-pthread' that leads to the usage message. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/usr.bin/make/unit-tests/opt-debug-errors-jobs.exp cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/opt-debug-errors-jobs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.