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: only unload media modules if -unload was given Author: Hans Verkuil <hverkuil-ci...@xs4all.nl> Date: Sat Feb 16 12:18:01 2019 +0100 When running virtme there is no need to unload media modules, so only do this if the -unload option is given. Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> contrib/test/test-media | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=310d8e465a3a4aa54f94c6f718e28ca95d586f3a diff --git a/contrib/test/test-media b/contrib/test/test-media index fef545444600..f146739e031a 100755 --- a/contrib/test/test-media +++ b/contrib/test/test-media @@ -9,12 +9,15 @@ vim2m=0 vimc=0 cec=0 cecpwr=--skip-test-standby-resume +unload=0 if [ -z "$1" ]; then - echo "usage: test-media all|mc|vivid|vim2m|vimc|cec|cec-pwr" + echo "usage: test-media [-unload] all|mc|vivid|vim2m|vimc|cec|cec-pwr" echo echo Run as root. echo + echo "-unload: unload any media modules before testing" + echo echo "'all' equals 'vivid vim2m vimc cec cec-pwr'" echo "'mc' equals 'vivid vim2m vimc'" echo "'cec' adds the CEC compliance tests, 'cec-pwr' adds the CEC standby/wakeup tests." @@ -28,6 +31,9 @@ fi while [ ! -z "$1" ]; do case "$1" in + -unload) + unload=1 + ;; all) vivid=1 vim2m=1 @@ -59,7 +65,9 @@ while [ ! -z "$1" ]; do shift done -test-media-unload.pl +if [ $unload -eq 1 ]; then + test-media-unload.pl +fi modprobe vivid n_devs=3 multiplanar=1,2,2 #allocators=0,1,1 sleep 1 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits