aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-12-16 15:57:44 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2016-12-16 15:57:44 +0100
commit04b5c4c91b78626babb17b6e99fe2d037232e66f (patch)
treefbcea7712a6f84a3158f20d344ee7abf6ae1e7a7 /utils/cec-compliance
parent56306915ecc2ebb5c9ef976d4d61e39a5fe5a82d (diff)
cec-compliance: fail if initiate-arc times out, but is supported
If the remote CEC 2.0 device told us that it supports ARC-TX and the INITIATE_ARC message times out, then that's a fail. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/cec-compliance')
-rw-r--r--utils/cec-compliance/cec-test-audio.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/cec-compliance/cec-test-audio.cpp b/utils/cec-compliance/cec-test-audio.cpp
index 0a277a72..2a3c23f3 100644
--- a/utils/cec-compliance/cec-test-audio.cpp
+++ b/utils/cec-compliance/cec-test-audio.cpp
@@ -173,6 +173,7 @@ static int arc_initiate_tx(struct node *node, unsigned me, unsigned la, bool int
cec_msg_initiate_arc(&msg, true);
fail_on_test(!transmit_timeout(node, &msg));
if (timed_out(&msg)) {
+ fail_on_test_v2(node->remote[la].cec_version, node->remote[la].has_arc_tx);
warn("Timed out waiting for Report ARC Initiated/Terminated.\n");
return PRESUMED_OK;
}

Privacy Policy