The NetBSD Project

CVS log for src/usr.bin/make/unit-tests/check-expect.lua

[BACK] Up to [] / src / usr.bin / make / unit-tests

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 17 09:44:00 2023 UTC (4 months ago) by rillig
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

tests/make: in 'expect' lines, require the complete text of the line

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 23 04:41:24 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.6: +30 -8 lines
Diff to previous 1.6 (colored)

tests/make: sort missing 'expect' comments by their location

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 1 20:56:35 2023 UTC (10 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.5: +6 -18 lines
Diff to previous 1.5 (colored)

tests/make: force line-based diagnostics to be listed in the tests

This way, contradictions between the intended output and the actual
output are closer together and have a better chance of being spotted.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 1 07:27:30 2023 UTC (10 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

tests/make: clean up comments, extend a few tests

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 9 19:43:12 2023 UTC (11 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.3: +35 -7 lines
Diff to previous 1.3 (colored)

make: skip syntactically wrong .for loops

When a .for loop cannot be interpreted correctly, for example when there
are no iteration variables or the number of words doesn't match the
iteration variables, skip the body of the .for loop instead of
interpreting it once.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 15 09:33:20 2022 UTC (2 years ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.2: +6 -2 lines
Diff to previous 1.2 (colored)

tests/make: adjust expectations to actual behavior

The bug in has been fixed, the debug logging for
comparing conditions and for deleting global variables has changed

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 29 00:52:53 2022 UTC (2 years, 2 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 (2 years, 3 months 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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>