commit | 8e9581809a3f387b2d1a8168b41d057f9567df9e | [log] [tgz] |
---|---|---|
author | Henrik Antonsson <Henrik.Antonsson@sonymobile.com> | Sun Sep 04 11:10:49 2016 +0200 |
committer | Stephen Li <stephenli@google.com> | Thu Sep 15 14:26:37 2016 -0700 |
tree | c387d1aad392f63460f17dde2b0871613b555968 | |
parent | 96ffb7e90a357790b164f6aaa7762dd623884f6a [diff] |
CameraITS scene5 should be skipped if read_3a is not supported Some cameras does not support read_3a. The test should include its.caps.skip_unless(its.caps.read_3a(props)) when checking the camera properties. (cherry-picked from 75aceb921efcc69aa20a2e51ea4fb47c7df12cbe) Change-Id: Ife036ae4ffb4f7bdba9e6d77c67538d75f319ec4
diff --git a/apps/CameraITS/tests/scene5/test_lens_shading_and_color_uniformity.py b/apps/CameraITS/tests/scene5/test_lens_shading_and_color_uniformity.py index 8e9f740..1307680 100644 --- a/apps/CameraITS/tests/scene5/test_lens_shading_and_color_uniformity.py +++ b/apps/CameraITS/tests/scene5/test_lens_shading_and_color_uniformity.py
@@ -52,6 +52,7 @@ with its.device.ItsSession() as cam: props = cam.get_camera_properties() + its.caps.skip_unless(its.caps.read_3a(props)) # Converge 3A and get the estimates. sens, exp, gains, xform, focus = cam.do_3a(get_results=True, do_af=False,