summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-09-16 00:08:30 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-09-16 01:41:54 +0300
commit27068bf44d61a51dfd78a42f788268e1d3b3409e (patch)
treea10ad18c20c66af61872ebf7fade60d03f5bbd24 /tests
parent86fb64f95e2710b4292a4d4731c1b25ef079e48f (diff)
tests: Skip VYUY tests on Gen3 platforms
The Gen3 platforms don't support VYUY, skip the related tests. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/vsp-unit-test-0002.sh5
-rwxr-xr-xtests/vsp-unit-test-0014.sh5
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/vsp-unit-test-0002.sh b/tests/vsp-unit-test-0002.sh
index b2f2bce..5979927 100755
--- a/tests/vsp-unit-test-0002.sh
+++ b/tests/vsp-unit-test-0002.sh
@@ -14,6 +14,11 @@ formats="NV12M NV16M NV21M NV61M UYVY VYUY YUV420M YUV422M YUV444M YUYV YVYU"
test_wpf_packing() {
test_start "WPF packing in $format"
+ if [ $format = VYUY -a $(vsp1_generation) != VSP1 ] ; then
+ test_complete skip
+ return
+ fi
+
pipe_configure rpf-wpf 0 0
format_configure rpf-wpf 0 0 YUV444M 1024x768 $format
diff --git a/tests/vsp-unit-test-0014.sh b/tests/vsp-unit-test-0014.sh
index b9e8e7c..6bc7480 100755
--- a/tests/vsp-unit-test-0014.sh
+++ b/tests/vsp-unit-test-0014.sh
@@ -14,6 +14,11 @@ formats="NV12M NV16M NV21M NV61M UYVY VYUY YUV420M YUV422M YUV444M YUYV YVYU"
test_rpf_unpacking() {
test_start "RPF unpacking in $format"
+ if [ $format = VYUY -a $(vsp1_generation) != VSP1 ] ; then
+ test_complete skip
+ return
+ fi
+
pipe_configure rpf-wpf 0 0
format_configure rpf-wpf 0 0 $format 1024x768 YUV444M