libcamera/utils/raspberrypi/ctt
Laurent Pinchart 1a5b168592 utils: raspberrypi: ctt: json_pretty_print: Fix printer test
The ctt_pretty_print_json.py file supports being run standalone to test
the code. It however suffers from multiple issues:

- The same input file name is hardcoded, and doesn't exist in the
  repository
- The input file name is used instead of JSON data

Fix both issues and make the input file selectable on the command line.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Tested-by: David Plowman <david.plowman@raspberrypi.com>
2020-07-03 18:15:19 +03:00
..
ctt.py utils: raspberrypi: ctt: Fix pycodestyle W605 2020-06-29 17:38:18 +03:00
ctt_alsc.py utils: raspberrypi: ctt: Fix pycodestyle E302 2020-05-13 17:00:25 +03:00
ctt_awb.py utils: raspberrypi: ctt: Fix pycodestyle W605 2020-06-29 17:38:18 +03:00
ctt_ccm.py utils: raspberrypi: ctt: Fix pycodestyle E302 2020-05-13 17:00:25 +03:00
ctt_config_example.json libcamera: utils: Raspberry Pi Camera Tuning Tool 2020-05-11 23:54:45 +03:00
ctt_geq.py utils: raspberrypi: ctt: Fix pycodestyle E302 2020-05-13 17:00:25 +03:00
ctt_image_load.py utils: raspberrypi: ctt: Fix pycodestyle E302 2020-05-13 17:00:25 +03:00
ctt_lux.py utils: raspberrypi: ctt: Fix pycodestyle E302 2020-05-13 17:00:25 +03:00
ctt_macbeth_locator.py utils: raspberrypi: ctt: Fix pycodestyle E302 2020-05-13 17:00:25 +03:00
ctt_noise.py utils: raspberrypi: ctt: Fix pycodestyle E302 2020-05-13 17:00:25 +03:00
ctt_pretty_print_json.py utils: raspberrypi: ctt: json_pretty_print: Fix printer test 2020-07-03 18:15:19 +03:00
ctt_ransac.py utils: raspberrypi: ctt: Fix pycodestyle E302 2020-05-13 17:00:25 +03:00
ctt_ref.pgm libcamera: utils: Raspberry Pi Camera Tuning Tool 2020-05-11 23:54:45 +03:00
ctt_tools.py utils: raspberrypi: ctt: Fix pycodestyle E302 2020-05-13 17:00:25 +03:00