diff options
Diffstat (limited to 'apps/CameraITS/tests/scene1/test_yuv_plus_dng.py')
-rw-r--r-- | apps/CameraITS/tests/scene1/test_yuv_plus_dng.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/CameraITS/tests/scene1/test_yuv_plus_dng.py b/apps/CameraITS/tests/scene1/test_yuv_plus_dng.py index 6fff221..4924c7b 100644 --- a/apps/CameraITS/tests/scene1/test_yuv_plus_dng.py +++ b/apps/CameraITS/tests/scene1/test_yuv_plus_dng.py @@ -13,6 +13,7 @@ # limitations under the License. import its.image +import its.caps import its.device import its.objects import os.path @@ -24,6 +25,10 @@ def main(): with its.device.ItsSession() as cam: props = cam.get_camera_properties() + if (not its.caps.raw(props) or + not its.caps.read_3a(props)): + print "Test skipped" + return cam.do_3a() |