diff options
author | Antoine Musso <hashar@free.fr> | 2019-02-21 17:00:32 +0100 |
---|---|---|
committer | Antoine Musso <hashar@free.fr> | 2019-02-25 17:03:13 +0100 |
commit | c7ecbbd6845d93e035e3d15970a9b9a33f42a5ca (patch) | |
tree | 1351fb1b72e489a494f03f4beaead9667a702579 /tests/phpunit/includes/diff/DifferenceEngineTest.php | |
parent | ae87a51b05b69c33cef363930f61121d9bb7820f (diff) | |
download | mediawikicore-c7ecbbd6845d93e035e3d15970a9b9a33f42a5ca.tar.gz mediawikicore-c7ecbbd6845d93e035e3d15970a9b9a33f42a5ca.zip |
selenium: improve ffmpeg reporting
1) stdout/stderr log improvement
Our wdio test suite records video of Selenium test session using ffmpeg,
its stdout/stderr are relayed via console.log() however the new line was
not stripped which is confusing and in case the buffer contains multiple
lines, only the first line had the 'ffmpeg stderr: ' prefix.
Ensure each ffmpeg line is prefixed by logging them individually.
2) exit code / signal
childProcess 'close' event is being passed the exit code and the signal.
We only handled the exit code, thus when ffmpeg is send a signal we
logged:
ffmpeg exited with code null
Handle the case when the childProcess is send a signal (typically
SIGINT).
Change-Id: I9f509690baa9b7981399a09448582f45c30800d7
Diffstat (limited to 'tests/phpunit/includes/diff/DifferenceEngineTest.php')
0 files changed, 0 insertions, 0 deletions