The NetBSD Project

CVS log for src/usr.bin/make/unit-tests/varmod-match-escape.mk

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 19 21:47:52 2023 UTC (3 months, 1 week ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

tests/make: replace 'variable expression' with 'expression'

Each expression is based on a variable, there's no need for the
verbosity.  The wording in make's diagnostics will be changed in a
follow-up commit.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 2 05:14:58 2023 UTC (3 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

make: sync comments with the extracted ParseModifier_Match

No functional change.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 23 04:56:54 2023 UTC (8 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

make: warn about malformed patterns in ':M', ':N' and '.if make(...)'

These patterns shouldn't occur in practice, as their results are tricky
to predict.  Generate a warning for now, and maybe an error later.

Reviewed by sjg@.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 22 20:36:24 2023 UTC (8 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.8: +30 -3 lines
Diff to previous 1.8 (colored)

tests/make: demonstrate inconsistency in pattern matching with ranges

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 1 20:56:35 2023 UTC (8 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Sat Apr 3 11:08:40 2021 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

make: use C99 bool type instead of defining its own

No functional change.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 1 22:36:28 2021 UTC (3 years ago) by rillig
Branch: MAIN
Changes since 1.5: +19 -1 lines
Diff to previous 1.5 (colored)

make: document necessary tests for Str_Match

Revision 1.5 / (download) - annotate - [select for diffs], Sun Nov 1 19:49:28 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.4: +25 -1 lines
Diff to previous 1.4 (colored)

make(1): add more tests for the variable modifier :M

Despite its popularity and usefulness, the variable modifier :M is
implemented so weirdly that it's not surprising people get confused
about make's parsing and escaping rules.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 1 19:25:23 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.3: +30 -2 lines
Diff to previous 1.3 (colored)

make(1): add test for surprising parsing result of the :M modifier

Revision 1.3 / (download) - annotate - [select for diffs], Sun Nov 1 19:02:22 2020 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

make(1): move test flags to test varmod-match-escape.mk

Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 24 08:46:08 2020 UTC (3 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

make(1): indent directives like .info, .if, .for consistently

Done by "pkglint -F *.mk", no manual corrections.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 16 20:03:53 2020 UTC (3 years, 6 months ago) by rillig
Branch: MAIN

make(1): move tests for the :M modifier into separate files

The test for the different escaping has been adjusted to actually show
the different parsing results in the test output.  To do this, it had to
get its own file since it needs the -dv debug flag and specialized
post-processing.

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 <webmaster@jp.NetBSD.org>