Module Name: src Committed By: sjg Date: Thu Jul 9 22:34:09 UTC 2020
Modified Files: src/usr.bin/make: cond.c src/usr.bin/make/unit-tests: cond-short.exp cond-short.mk Log Message: compare_expression: return after fetch lhs and rhs if !doEval Otherwise we end up throwing warings/errors for valid conditionals due to not expanding variables fully. Add tests to catch this. Reviewed by: rillig To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/usr.bin/make/cond.c cvs rdiff -u -r1.9 -r1.10 src/usr.bin/make/unit-tests/cond-short.exp cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/cond-short.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.