This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: test-media: add "Final Summary" when missing modules Author: Hans Verkuil <hverkuil-ci...@xs4all.nl> Date: Fri Jul 26 16:07:33 2019 +0200 The tests whether the expected devices are present post a message if that's not the case and then exit. But that skips the "Final Summary" line that is output at the end. Add that in order for test scripts to see this. Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> contrib/test/test-media | 5 +++++ 1 file changed, 5 insertions(+) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=eb431661b35847b39afdbbf557c63c34401df652 diff --git a/contrib/test/test-media b/contrib/test/test-media index 0a27b7a4d1a5..368f6cb204b3 100755 --- a/contrib/test/test-media +++ b/contrib/test/test-media @@ -133,6 +133,7 @@ tmp=`mktemp` if ! v4l2-ctl -z platform:vivid-002 -d vivid-002-vid-cap ; then echo "FAIL: the vivid module failed to load" | tee -a $tmp echo "Grand Total for vivid: Succeeded: 0, Failed: 1, Warnings: 0" | tee -a $tmp + echo "Final Summary: 1, Succeeded: 0, Failed: 1, Warnings: 0" exit 0 fi @@ -175,6 +176,7 @@ if [ $cec -eq 1 ]; then if ! cec-ctl -D vivid -a vivid-000-vid-cap0 >/dev/null ; then echo "FAIL: the vivid module had no cec support" | tee -a $tmp echo "Grand Total for vivid cec: Succeeded: 0, Failed: 1, Warnings: 0" | tee -a $tmp + echo "Final Summary: 1, Succeeded: 0, Failed: 1, Warnings: 0" exit 0 fi cec-ctl -D vivid -a vivid-000-vid-cap0 --tv @@ -275,6 +277,7 @@ if [ $vim2m -eq 1 ]; then if ! v4l2-ctl -z platform:vim2m ; then echo "FAIL: the vim2m module failed to load" | tee -a $tmp echo "Grand Total for vim2m: Succeeded: 0, Failed: 1, Warnings: 0" | tee -a $tmp + echo "Final Summary: 1, Succeeded: 0, Failed: 1, Warnings: 0" rmmod vivid exit 0 fi @@ -347,6 +350,7 @@ if [ $vimc -eq 1 ]; then if ! v4l2-ctl -z platform:vimc -d "Sensor A" ; then echo "FAIL: the vimc module failed to load" | tee -a $tmp echo "Grand Total for vimc: Succeeded: 0, Failed: 1, Warnings: 0" | tee -a $tmp + echo "Final Summary: 1, Succeeded: 0, Failed: 1, Warnings: 0" rmmod vivid exit 0 fi @@ -450,6 +454,7 @@ if [ $vicodec -eq 1 ]; then if ! v4l2-ctl -z platform:vicodec ; then echo "FAIL: the vicodec module failed to load" | tee -a $tmp echo "Grand Total for vicodec: Succeeded: 0, Failed: 1, Warnings: 0" | tee -a $tmp + echo "Final Summary: 1, Succeeded: 0, Failed: 1, Warnings: 0" rmmod vivid exit 0 fi _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits