Home | History | Annotate | Download | only in unit-tests
History log of /src/usr.bin/make/unit-tests/job-output.mk
RevisionDateAuthorComments
 1.2  13-Jun-2025  rillig branches: 1.2.4;
make: do not discard empty lines in the output of a command
 1.1  05-Jun-2025  rillig make: remove empty line from diagnostic, add tests for output handling

The warning for the invalid internal option "-J" does not need a
trailing newline, as that is provided by Parse_Error already.

Having this newline in the output demonstrated a previously unknown bug
in handling the output of child commands in parallel mode. There, empty
lines are randomly discarded, depending on the chunks in which the
output from the child process is copied to make's stdout. See
job-output.mk for a demonstration.

The test for the Korn shell did not run the Korn shell in error handling
mode, as the error handling mode only affects the parallel mode but the
test didn't switch to that mode.

After fixing the shell-ksh.mk test, the single '"' in the output looked
suspicious, and indeed, the shell-csh.mk test had the same problem of
filtering more characters from the output than intended.
 1.2.4.2  02-Aug-2025  perseant Sync with HEAD
 1.2.4.1  13-Jun-2025  perseant file job-output.mk was added on branch perseant-exfatfs on 2025-08-02 05:58:35 +0000

RSS XML Feed