summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcameraallocator.cpp
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2020-07-10 22:51:51 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2020-07-13 19:46:11 +0900
commitce32ca491884c4755e3cae0c7a6453a1f4933da2 (patch)
tree0cc9669da501e87a193f087343446e818f85c0e7 /src/gstreamer/gstlibcameraallocator.cpp
parentd76acac30dc714e63057ee0cc424b12624994072 (diff)
tests: v4l2_compat: Prettify failure output
When a test is being run on a video device, there is output like so: Testing /dev/video0 with uvcvideo driver... and when it succeeds, "success" is appended: Testing /dev/video0 with uvcvideo driver... success On failure, however, the output of v4l2-compliance is printed before "failure" is printed, resulting in the first line of the v4l2-compliance output to be printed on the same line as the message: Testing /dev/video2 with uvcvideo driver... v4l2-compliance SHA: not available, 64 bits <v4l2-compliance output> failure Refactor the code to make "failure" print before the output of the test, to prettify the output upon failure. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcameraallocator.cpp')
0 files changed, 0 insertions, 0 deletions