From 27068bf44d61a51dfd78a42f788268e1d3b3409e Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 16 Sep 2016 00:08:30 +0300 Subject: tests: Skip VYUY tests on Gen3 platforms The Gen3 platforms don't support VYUY, skip the related tests. Signed-off-by: Laurent Pinchart --- scripts/vsp-lib.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts') diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh index 02376e8..9b9c3c8 100755 --- a/scripts/vsp-lib.sh +++ b/scripts/vsp-lib.sh @@ -13,6 +13,14 @@ vsp1_device() { $mediactl -d $mdev -p | grep 'bus info' | sed 's/.*platform://' } +vsp1_model() { + $mediactl -d $mdev -p | grep 'model' | sed 's/.* //' +} + +vsp1_generation() { + echo $(vsp1_model) | sed 's/-.*//' +} + vsp1_has_feature() { local feature=$1 local entity_name=$(echo $feature | sed 's/\[.*//') -- cgit v1.2.3