aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-02-20 11:48:37 (GMT)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2019-02-20 11:48:37 (GMT)
commita93caccd06a62e40bcb22c808988511b63ea9920 (patch)
tree2f468a3f063c05b09d7ab37ef47d573aee5b2b81
parent6ec075192688e41641411854cf83134e5e197af7 (diff)
test-media: add sleeps after configuring CEC
Add a sleep 1 after configuring each vivid CEC adapter to give it time to settle. Without sleeps this can hit a limitation of the vivid CEC emulation where transmits can repeatedly fail with the ARB_LOST error and as a result it picks Playback Device 2 instead of 1, causing the remainder of the CEC tests to fail. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rwxr-xr-xcontrib/test/test-media2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/test/test-media b/contrib/test/test-media
index a13a096..2976b26 100755
--- a/contrib/test/test-media
+++ b/contrib/test/test-media
@@ -145,7 +145,9 @@ if [ $cec -eq 1 ]; then
echo vivid cec compliance tests
echo
cec-ctl -D vivid -a vivid-000-vid-cap0 --tv
+ sleep 1
cec-ctl -D vivid -a vivid-000-vid-out0 --playback
+ sleep 1
trap 'kill $f0 $f1 2>/dev/null' INT
cec-follower -s -D vivid -a vivid-000-vid-cap0 2>&1 >/dev/null &
f0=$!

Privacy Policy