CVS log for src/usr.bin/make/unit-tests/Attic/sysv.mk
Up to [cvs.NetBSD.org] / src / usr.bin / make / unit-tests
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.16
Sat Oct 31 11:06:24 2020 UTC (4 years, 1 month ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
HEAD
FILE REMOVED
Changes since revision 1.15: +1 -1
lines
make(1): merge the SysV modifier tests into varmod-sysv
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Oct 24 08:50:17 2020 UTC (4 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -9
lines
make(1): use consistent indentation in variable assignments
Initial work by "pkglint -F *.mk", manually adjusted in a few places.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Oct 24 08:34:59 2020 UTC (4 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -1
lines
make(1): use consistent RCS Id in test files
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Aug 23 14:52:06 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -56
lines
make(1): move some of the SysV modifier tests into another file
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Aug 1 13:35:13 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2
lines
make(1): reduce the number of string comparisons in ${VAR:%.c=%.o}
There is only a single position in the word where the tail ".c" can
match, since it is implicitly anchored at the end. Therefore there's no
need to do several string comparisons.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Aug 1 12:47:56 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -7
lines
make(1): fix typo in newly added SysV modifier test case
I should have been more suspicious when all my test cases succeeded at
the first try.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Aug 1 12:04:00 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +26 -1
lines
make(1): add more tests for the SysV modifier
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jul 26 11:19:04 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -1
lines
make(1): add test for prefix mismatch in SysV substitution
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jul 20 16:27:55 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -2
lines
make(1): demonstrate obscure edge case in SysV modifier
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jul 19 22:04:27 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5
lines
make(1): make ampersand in ${VAR:from=to&} an ordinary character
In SysV substitutions, wildcards are expressed with % instead of &. The
& is not mentioned in the manual page, and having another wildcard for
the whole word would be such an obscure feature that not even pkgsrc uses
it. The easiest way to discover this feature had been to read the source
code of make(1) or to use a fuzzer and accidentally stumble upon this
edge case.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jul 19 14:23:02 2020 UTC (4 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +11 -3
lines
make(1): add test for ampersand in SysV substitution modifier
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jul 3 19:29:25 2020 UTC (4 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -2
lines
make(1): add another test for the SysV :%=% modifier
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed May 6 02:30:10 2020 UTC (4 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -2
lines
Behave like gmake: empty string does not match % pattern
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 25 18:20:57 2020 UTC (4 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +14 -2
lines
- Percent on the rhs is special only if the lhs has one too.
- If the rhs does not have percent, but the lhs has, the result is the rhs
This behavior matches gmake
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 30 22:21:08 2014 UTC (10 years, 3 months ago) by sjg
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
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-4-RELEASE,
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-3-RELEASE,
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,
is-mlppp-base,
is-mlppp,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3
lines
Replace use of $() with ${}
$() means something special to the shell, so ${} reduces confusion
and is used almost exclusively in the rest of the makefiles.
Discussed with: christos
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Aug 21 13:44:52 2014 UTC (10 years, 3 months ago) by apb
Branches: MAIN
Give each group of tests its own output file.
* Rename each sub-makefile to *.mk;
* Add a *.exp file of expected output for each sub-makefile;
* Remove test.exp, which is replaced by all the other *.exp files.
* Use suffix rules to generate *.rawout and *.out files for
each test case.
* Rewrite the test and accept targets to adapt to the new way.
The old (now removed) test.exp file is almost identical to the
concatenation (in the correct order) of all the new *.exp files. There
are expected differences in makefile names embedded in the output, and
the new "exit status" lines. Some old "*** Error code 1 (ignored)"
lines are also removed (replaced by new "exit status 1" lines).
CVSweb <webmaster@jp.NetBSD.org>