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


Default branch: MAIN


Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 31 21:30:03 2020 UTC (3 years, 5 months 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.6: +31 -0 lines
Diff to previous 1.6 (colored)

make(1): add test for debug log for expansion of curly braces

Revision 1.6 / (download) - annotate - [select for diffs], Sat Oct 31 21:12:36 2020 UTC (3 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.5: +18 -18 lines
Diff to previous 1.5 (colored)

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) - annotate - [select for diffs], Fri Jul 31 20:16:21 2020 UTC (3 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored)

make(1): add a test for deeply nested brace dependency

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 31 20:08:08 2020 UTC (3 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.3: +5 -0 lines
Diff to previous 1.3 (colored)

make(1): add more tests for expanding curly braces in dependencies

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 31 20:02:44 2020 UTC (3 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.2: +4 -0 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Fri Jul 31 19:06:33 2020 UTC (3 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.1: +2 -4 lines
Diff to previous 1.1 (colored)

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) - annotate - [select for diffs], Fri Jul 31 16:42:51 2020 UTC (3 years, 8 months ago) by rillig
Branch: 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.

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>