Skip to content

Commit 83c8bd7

Browse files
committed
tests: Add bypass for imx219 in stop_slow_framerate test
The sensor has a limit on the min fps that can be set, so will fail this test. Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
1 parent 2cd4c00 commit 83c8bd7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/stop_slow_framerate.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
from picamera2 import Picamera2
66

77
picam2 = Picamera2()
8+
9+
if picam2.camera_properties['Model'] == "imx219":
10+
print("SKIPPED (imx219 test bypass)")
11+
quit()
12+
813
config = picam2.create_preview_configuration(
914
controls={'FrameRate': 0.2, 'ExposureTime': 5000, 'AnalogueGain': 1.0, 'ColourGains': (1, 1)})
1015
picam2.configure(config)

0 commit comments

Comments
 (0)