Up to [cvs.NetBSD.org] / src / usr.bin / make / unit-tests
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 12 11:14:48 2022 UTC (11 months, 3 weeks ago) by rillig
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.3: +0 -72 lines
Diff to previous 1.3 (colored)
make: fix echoing of command with '-' in silent target in jobs mode Since job.c 1.83 from 2003-12-20, the command had been echoed even if the target had the attribute '.SILENT'. In sh-flags.exp, each removed 'echo' command is below a target name matching the pattern 'opt-?j????-tgt-??s-cmd-?i?', which means that the target was marked as silent, either through a global '.SILENT' declaration or the command line option '-s' or the attribute '.SILENT' on the target. Reported by Alan Barrett in PR#45356.
Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 12 12:19:18 2020 UTC (2 years, 1 month ago) by rillig
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.2: +1351 -5495 lines
Diff to previous 1.2 (colored)
make(1): reduce number of test cases in sh-flags.mk The field job->echo is initialized in JobStart (and in JobOpenTmpFile). After that, it is not modified anymore. Therefore it is not necessary to run these test cases redundantly. The field job->ignerr, on the other hand, is modified later on. For these cases, the many remaining test cases are still needed.
Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 10 17:55:30 2020 UTC (2 years, 1 month ago) by rillig
Changes since 1.1: +1196 -364 lines
Diff to previous 1.1 (colored)
make(1): fix test for command flags The "false" is supposed to be run not only if the command has the '-' flag, but also if the target is marked as .IGNORE or if the command line option -i is given. After the failed command, the remaining commands are skipped, therefore the final echo for the empty line had to be moved up, at the beginning of the target.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 10 17:06:13 2020 UTC (2 years, 1 month ago) by rillig
make(1): test all combinations of switches for running commands The code in JobPrintSpecials is rather complicated and contains surprising interaction between some of the switches. To see the exact effects of the switches, record the current state and its output, to prevent accidental breakage during the upcoming refactorings.
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.