Open bram-perl opened 2 years ago
Example of a logfile (on Windows) with these changes: https://perl5.test-smoke.org/logfile/5021750 This (clearly) results in larger log files which I don't know if that is desirable since it will take up more space in the smokedb..
With the current code it first runs the command (make, test_harness, ...) and when it's complete it may 'log' all the output on STDOUT/smokecurrent.log.
What I like more is if the output shows when things are happening instead of needing to wait until the command fully completed.
With this patch that does happen for
make
make test_harness
I consider this to be WIP because:
_run_harness3_target
(and others) it uses a pipe and then reads from it. I'm guessing that it should be possible to replace the code withcapture
(ortee
) from Capture::Tiny but I don't know if that is desirable.make
is already logged (see$make_output
insub make_
).