diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2020-09-30 11:22:36 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2020-09-30 11:22:36 +0200 |
commit | 2f8a7b7c905c1807639bb27468fb75c0cabd063f (patch) | |
tree | d3aa208299de48aff80edb3c2429d9d57f96f950 | |
parent | 847a3e06b7bf5b341d519672fc87acfb028e9408 (diff) |
units:camera: Use camera/detect{,-rpi} as depends jobs for camera/roundtrip-qrcode
-rw-r--r-- | units/camera/jobs.pxu | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/units/camera/jobs.pxu b/units/camera/jobs.pxu index 42a8413..285fc2e 100644 --- a/units/camera/jobs.pxu +++ b/units/camera/jobs.pxu @@ -145,6 +145,12 @@ category_id: com.canonical.plainbox::camera id: camera/roundtrip-qrcode_{{ name }} _summary: Test video output and camera {{ name }} by displaying and reading a qrcode estimated_duration: 5.0 +depends: + {%- if category == 'MMAL' %} + camera/detect-rpi + {%- else %} + camera/detect + {% endif -%} requires: {%- if __on_ubuntucore__ %} lsb.release >= '19.1' |