From 3cbb5e005bec07d9d2deebbd99fe9d69f231d61f Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Fri, 14 Sep 2018 15:27:37 +0800 Subject: linux/v4l2-compliance: support to modprobe driver and install v4l-utils * Add hikey to supported board list. * Add support to modprobe driver module. * Try to install v4l-utils when v4l2-compliance command not found. * Drop support for media device testing as we cannot really test it. * Bug fixes. Change-Id: I8518a06e04a1f842f4ebacf32c9b63eaf58ef5cb Signed-off-by: Chase Qi --- automated/linux/v4l2/v4l2-compliance.sh | 40 +++++++++++++++++-------------- automated/linux/v4l2/v4l2-compliance.yaml | 7 ++++-- 2 files changed, 27 insertions(+), 20 deletions(-) diff --git a/automated/linux/v4l2/v4l2-compliance.sh b/automated/linux/v4l2/v4l2-compliance.sh index 73a609f..cea6eaf 100755 --- a/automated/linux/v4l2/v4l2-compliance.sh +++ b/automated/linux/v4l2/v4l2-compliance.sh @@ -2,33 +2,47 @@ . ../../lib/sh-test-lib OUTPUT="$(pwd)/output" -RESULT_FILE="${OUTPUT}/result.txt" +export RESULT_FILE="${OUTPUT}/result.txt" TEST_SUITE="v4l2-compliance" +VIDEO_DEVICE="/dev/video0" +VIDEO_DRIVER="" + usage() { - echo "Usage: $0 [-d