Up to [cvs.NetBSD.org] / src / usr.bin / make / unit-tests
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 15 09:33:20 2022 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
HEAD
Changes since 1.2: +6 -2
lines
Diff to previous 1.2 (colored)
tests/make: adjust expectations to actual behavior The bug in deptgt-silent-jobs.mk has been fixed, the debug logging for comparing conditions and for deleting global variables has changed intentionally.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 29 00:52:53 2022 UTC (12 months ago) by rillig
Branch: MAIN
Changes since 1.1: +4 -1
lines
Diff to previous 1.1 (colored)
tests/make: extend and isolate tests for target-local variables Reusing the target var-scope-local.o for several tests made the test more difficult to understand than necessary. The test names '2' and '3' didn't convey any meaning. Instead, add more test targets that are named after what they test. Add tests for each of the 5 variable assignment operators, to demonstrate an inconsistency between '+=' and '?='. Add tests for the built-in target-local variables as well and explain the general concepts, in particular the exact point where target-local expressions are expanded. The lines in the expected output file are not generated in the same order as they appear in the makefile, so allow the 'expect' lines in non-linear order, in check-expect.lua.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Jan 15 12:35:18 2022 UTC (12 months, 2 weeks ago) by rillig
Branch: MAIN
tests/make: ensure that the 'expect' comments in tests are correct Based on tests/usr.bin/xlint/check-expect.lua. For now, this extra check needs to be run manually.