The NetBSD Project

CVS log for src/usr.bin/make/unit-tests/dir.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: download - view: text, markup, annotated - select for diffs
Sat Oct 31 21:30:03 2020 UTC (4 years, 1 month ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +31 -0 lines
make(1): add test for debug log for expansion of curly braces

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Oct 31 21:12:36 2020 UTC (4 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +18 -18 lines
make(1): mark the output in test dir.mk with a prefix

This is needed to distinguish it from the debug log, which will be added
in the next commit.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jul 31 20:16:21 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -0 lines
make(1): add a test for deeply nested brace dependency

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jul 31 20:08:08 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -0 lines
make(1): add more tests for expanding curly braces in dependencies

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jul 31 20:02:44 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -0 lines
make(1): fix regression and add test for empty brace expansion

This had been broken in r1.80 of dir.c, a few minutes ago.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jul 31 19:06:33 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -4 lines
make(1): fix parsing of nested braces in dependency lines

Before, make could not parse {{thi,fou}r,fif}teen properly. It did
correctly split up the outer brace into "" + "{thi,fou}r,fif" + "teen",
but then, when expanding the inner braces, it interpreted the first
comma already as a separator, even though this comma was enclosed in
another set of braces.

This resulted in the wrong expansion "{thiteen", which produced the
error message.  The next word "fouteen" was produced since the parser
stopped at the next closing brace.  After this, parsing continued after
the closing brace, producing "rteen".  Finally, the last expansion was
the correct "fifteen".

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jul 31 16:42:51 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
make(1): add test for braces in dependency lines

The comment at DirExpandCurly says something about "recursively", but the
nested braces don't work.

The manual page only mentions that "{} may be used", but it keeps quiet
about the exact meaning and also doesn't mention any nesting.

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>