The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 19 21:47:52 2023 UTC (3 months, 2 weeks ago) by rillig
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Thu Jun 1 20:56:35 2023 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.12: +11 -1 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Wed May 10 15:53:32 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

tests/make: clean up comments in tests

Revision 1.11 / (download) - annotate - [select for diffs], Tue May 9 16:31:41 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.10: +1 -12 lines
Diff to previous 1.10 (colored)

tests/make: clean up tests for ':gmtime' and ':localtime'

Revision 1.10 / (download) - annotate - [select for diffs], Tue May 9 16:27:00 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.9: +16 -16 lines
Diff to previous 1.9 (colored)

make: allow ':gmtime' and ':localtime' with dynamic argument

This allows ${%Y:L:gmtime=${mtime}} instead of the indirect
${%Y:L:${:Ugmtime=${mtime}}}.

The direct form also prevents any ':' from the nested expression to be
interpreted as a separator, which doesn't matter for the ':gmtime' and
':localtime' modifiers but will prove useful for other modifiers that
follow the same pattern.

Revision 1.9 / (download) - annotate - [select for diffs], Tue May 9 08:26:14 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.8: +14 -2 lines
Diff to previous 1.8 (colored)

tests/make: demonstrate parse bug in :gmtime and :localtime modifiers

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 19 05:26:34 2021 UTC (3 years, 1 month 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.7: +11 -10 lines
Diff to previous 1.7 (colored)

make(1): fix tests for :gmtime and :localtime for 32-bit time_t

The comparison operator had accidentally been '!=' instead of '=='.

While here, proofread the documentation and add references for where the
32-bit time_t is defined on Linux and FreeBSD.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 22 07:22:39 2020 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

make(1): fix commit number in tests for :gmtime and :localtime

Revision 1.6 / (download) - annotate - [select for diffs], Mon Dec 21 20:47:29 2020 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.5: +117 -73 lines
Diff to previous 1.5 (colored)

make(1): align tests for :localtime with those for :gmtime

These tests had been almost the same before, now they are as similar as
possible again.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Oct 31 20:30:06 2020 UTC (3 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.4: +82 -7 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 29 19:01:10 2020 UTC (3 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.3: +9 -1 lines
Diff to previous 1.3 (colored)

make(1): add test for default format of the :localtime modifier

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 23 15:13:21 2020 UTC (3 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

make(1): move tests for :hash :range :localtime into separate files

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 16 14:25:16 2020 UTC (3 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

make(1): describe the purpose of each newly added unit test dummy

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

make(1): add dummies for fine-grained tests, one per single feature

The test names have been derived from the current manual page.

All these tests are dummies right now, and the code from the existing
tests will be moved into the new tests step by step.

This is done to prevent modmisc, escape, varmod-edge and varmisc from
growing without any bounds, and to reduce the side-effects of one test
to the others.

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>