Commit: fb681e795027edb3e995e2c75657ebab0360a299
Parent: 95838efc07d34c6ac121c65daa3316bf50f0374f
Author: Frédéric Danis <frederic.danis@collabora.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2023-12-11 19:16:43
Tree: ea986b3ec2b5f085bf76887a28b80b828e3677fe

tools: avtest: Add reject-code option Some PTS tests like A2DP/SNK/AVP/BI-03-C, A2DP/SNK/AVP/BI-08-C , … request some specific rejection code to pass. This commit adds an option to specify the rejection code during AVDTP_SET_CONFIGURATION rejection. E.g. "avtest --reject setconf --reject-code 195" to reject setconf with INVALID_SAMPLING_FREQUENCY code. Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>

Diffstat

M tools/avtest.c | 23 ++++++++++++++++- - - - - - -

1 files changed, 16 insertions(+), 7 deletions(-)

View Full Diff | Patch