The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 19 18:24:33 2023 UTC (5 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)

tests/make: clean up, explain and reorganize several tests

Revision 1.14 / (download) - annotate - [select for diffs], Tue Nov 3 17:38:45 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
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

make(1): clean up tests error.mk and escape.mk

Revision 1.13 / (download) - annotate - [select for diffs], Sat Oct 24 08:50:17 2020 UTC (3 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.12: +45 -45 lines
Diff to previous 1.12 (colored)

make(1): use consistent indentation in variable assignments

Initial work by "pkglint -F *.mk", manually adjusted in a few places.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 24 08:34:59 2020 UTC (3 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

make(1): use consistent RCS Id in test files

Revision 1.10.16.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:17 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Merge changes from current as of 20200406

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jan 7 20:50:12 2020 UTC (4 years, 3 months ago) by rillig
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

usr.bin/make: fix typos in comment

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 9 10:22:27 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.9: +12 -1 lines
Diff to previous 1.9 (colored)

Add a test for backslash-newline at the very end of a command script.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 9 10:11:20 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.8: +13 -13 lines
Diff to previous 1.8 (colored)

Change @echo to echo in several places in escape.mk,
to make it easier to spot changes in what make sends to the shell.
Adjust escape.out to match.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Aug 24 16:47:12 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.7: +17 -15 lines
Diff to previous 1.7 (colored)

In either a variable assignmentor a command, backslash-backslash-newline
does not escape the newline.  This is compatible with gmake.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Aug 24 16:08:14 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.6: +8 -5 lines
Diff to previous 1.6 (colored)

Our practice is that an even number of backslashes before a newline
in a variable assignment simply stores the backslashes as part of the
value, and treats the newline as though it was not escaped.  This
is compatible with GNU make.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 24 15:10:13 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.5: +25 -6 lines
Diff to previous 1.5 (colored)

Our practice, despite what POSIX might say, is that "\#"
in a variable assignment stores "#" as part of the value.
The "\" is not taken literally, and the "#" does not begin a comment.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 24 14:38:38 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.4: +16 -47 lines
Diff to previous 1.4 (colored)

Convert the variable printing tests to use .USE rules,
to ensure that the value printed always comes from the expected variable.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 24 14:04:35 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.3: +22 -22 lines
Diff to previous 1.3 (colored)

Adjust tests to correct for the fact that end-of-line comments
in variable assignments should not be included in the value.

Also fix more typos.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 24 13:11:49 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

Fix more typos in variable names.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 24 13:07:25 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored)

Fix typos in variable names, and in a comment.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 24 11:52:45 2014 UTC (9 years, 7 months ago) by apb
Branch: MAIN

Add tests for backslash escaping in make(1).

Many of these tests fail, and I have populated the escape.exp file with
the results that I expect, not with the results that make(1) actually
produces.

Also update the set lists for these tests.

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>