The NetBSD Project

CVS log for src/usr.bin/make/unit-tests/opt-debug-file.exp

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 1 01:01:15 2024 UTC (5 months, 1 week ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +4 -4 lines
Sync with HEAD.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Jun 30 15:21:24 2024 UTC (5 months, 1 week ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, HEAD
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
make: error out on some more syntax errors

Previously, these errors only produced a message on stderr.  They only
affected make's exit status when they were evaluated at parse time, but
not when evaluating the commands for a specific target right before
executing them.

The affected syntax errors are:
* invalid regular expressions in the ':C' modifier
* out-of-range references to regex groups in the ':C' modifier
* unfinished modifiers

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jun 1 20:56:35 2023 UTC (18 months, 1 week ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base
Branch point for: perseant-exfatfs
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
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.6: download - view: text, markup, annotated - select for diffs
Thu Mar 3 19:36:35 2022 UTC (2 years, 9 months ago) by rillig
Branches: 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
make: make debug logging for comparisons less technical

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jan 11 19:47:34 2022 UTC (2 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1 lines
tests/make: clean up after test for option '-dF'

When the file for the debug log cannot be opened, make exits
immediately.  This doesn't give the test a chance to clean up the
temporary log file.

Instead of trying to treat a regular file as a directory and create a
file in it, assume that the directory /nonexistent-$uuid is actually
nonexistent.  This leads to the same kind of error message, independent
of strerror(3).

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jan 9 15:05:21 2022 UTC (2 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +10 -0 lines
tests/make: test output channels for parse errors and other errors

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Dec 27 22:22:48 2021 UTC (2 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -5 lines
make: remove usage message if the debug file cannot be opened

Since a non-writable file is not a syntax error, there is no point in
showing the usage in this situation.  Showing the usage may have been a
copy-and-paste mistake from a few lines below, when this option was
added back in main.c 1.133 from 2006-10-15.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Dec 27 22:04:20 2021 UTC (2 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -1 lines
tests/make: cover a debug log file that cannot be opened

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Sep 5 06:20:51 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
make(1): add tests for each debug option

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>