All camera tests should be run on all current targets before submitting code!
fx set [product].[board] --with //bundles:tests
fx serve
fx run-test camera_tests
Note: most on-device tests require the camera to be physically enabled (i.e. the device must not be muted). If a test determines that the device may be muted, a warning will be displayed and the test will be skipped.
fx shell sessionctl add_mod fuchsia-pkg://fuchsia.com/camera-gym#meta/camera-gym.cmx
Single components can be tested by following the instructions above, and adding a -t test_name
to the end. For example:
fx run-test camera_tests -t gdc-test