diff mbox series

cec-compliance: remove One Touch Record Status test

Message ID 20210616171952.9420-1-deborahbrouwer3563@gmail.com (mailing list archive)
State New, archived
Headers show
Series cec-compliance: remove One Touch Record Status test | expand

Commit Message

Deborah Brouwer June 16, 2021, 5:19 p.m. UTC
Remove the Record Status test for One Touch Record because the follower
sends these kinds of messages in response to Record On.

Signed-off-by: Deborah Brouwer <deborahbrouwer3563@gmail.com>
---
This is part of an Outreachy project to expand the testing of
One Touch Record messages as handled by CEC adapters.

 utils/cec-compliance/cec-test.cpp | 18 ------------------
 1 file changed, 18 deletions(-)
diff mbox series

Patch

diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp
index d28642d7..40d8369d 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -1221,28 +1221,10 @@  static int one_touch_rec_off(struct node *node, unsigned me, unsigned la, bool i
 	return 0;
 }
 
-static int one_touch_rec_status(struct node *node, unsigned me, unsigned la, bool interactive)
-{
-	struct cec_msg msg;
-
-	cec_msg_init(&msg, me, la);
-	cec_msg_record_status(&msg, CEC_OP_RECORD_STATUS_DIG_SERVICE);
-	fail_on_test(!transmit_timeout(node, &msg));
-	if (unrecognized_op(&msg))
-		return OK_NOT_SUPPORTED;
-	if (refused(&msg))
-		return OK_REFUSED;
-	if (cec_msg_status_is_abort(&msg))
-		return OK_PRESUMED;
-
-	return 0;
-}
-
 static const vec_remote_subtests one_touch_rec_subtests{
 	{ "Record TV Screen", CEC_LOG_ADDR_MASK_TV, one_touch_rec_tv_screen },
 	{ "Record On", CEC_LOG_ADDR_MASK_RECORD, one_touch_rec_on },
 	{ "Record Off", CEC_LOG_ADDR_MASK_RECORD, one_touch_rec_off },
-	{ "Record Status", CEC_LOG_ADDR_MASK_ALL, one_touch_rec_status },
 };
 
 /* Timer Programming */