aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Fjeldtvedt <jaffe1@gmail.com>2016-08-11 11:31:58 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2016-08-12 13:26:51 +0200
commit5be09ccd41c481fed13f45f0635c1807196fc86c (patch)
treef846cc2e3e60c30a497b2c4668a122d7c813af5b
parent25b9f9bf8e4f0a90f01499d3c5222febbd1b9969 (diff)
cec-compliance: post test check should print failures always
The post test check (for recognized/unrecognized opcodes consistency) should use fail instead of info to print the opcodes that are found to be inconsistantly handled. Signed-off-by: Johan Fjeldtvedt <jaffe1@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
-rw-r--r--utils/cec-compliance/cec-test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp
index 7d203368..69b9a876 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -1209,8 +1209,8 @@ static int post_test_check_recognized(struct node *node, unsigned me, unsigned l
for (unsigned i = 0; i < 256; i++) {
if (node->remote[la].recognized_op[i] && node->remote[la].unrecognized_op[i]) {
- info("Opcode %x has been both recognized by and has been replied\n", i);
- info("Feature Abort [Unrecognized Opcode] to by the device.\n");
+ fail("Opcode %x has been both recognized by and has been replied\n", i);
+ fail("Feature Abort [Unrecognized Opcode] to by the device.\n");
fail = true;
}
}

Privacy Policy