From a410195b43a5d69e60346b85b97b67f41b59382c Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 1 Mar 2017 01:01:03 +0200 Subject: tests: Don't perform HSV capture test on Gen3 hardware The Gen3 VSP doesn't support HSV formats on the RPF or WPF. Skip the test. Signed-off-by: Laurent Pinchart --- tests/vsp-unit-test-0017.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/vsp-unit-test-0017.sh b/tests/vsp-unit-test-0017.sh index bba6779..6034141 100755 --- a/tests/vsp-unit-test-0017.sh +++ b/tests/vsp-unit-test-0017.sh @@ -47,6 +47,10 @@ test_hsv_to_hsv() { } test_main() { + if [ $(vsp1_generation) != VSP1 ] ; then + exit 1 + fi + for format in $formats ; do test_rgb_to_hsv $format test_hsv_to_hsv $format -- cgit v1.2.3