diff options
Diffstat (limited to 'units')
-rw-r--r-- | units/pig/jobs.pxu | 8 | ||||
-rw-r--r-- | units/pig/resource.pxu | 5 | ||||
-rw-r--r-- | units/pig/test-plan.pxu | 16 |
3 files changed, 29 insertions, 0 deletions
diff --git a/units/pig/jobs.pxu b/units/pig/jobs.pxu new file mode 100644 index 00000000..2bbcaa67 --- /dev/null +++ b/units/pig/jobs.pxu @@ -0,0 +1,8 @@ +id: monitor/pig-edid +category_id: com.canonical.plainbox::monitor +plugin: shell +estimated_duration: 60 +_summary: Check if the system automatically changes the resolution based on EDID +requires: pig.hdmi_bridge == 'installed' +environ: PIG_HOST +command: edid_cycle.py $PIG_HOST diff --git a/units/pig/resource.pxu b/units/pig/resource.pxu new file mode 100644 index 00000000..eb62e22c --- /dev/null +++ b/units/pig/resource.pxu @@ -0,0 +1,5 @@ +id: pig +plugin: resource +_summary: Get Pig's capabilities +environ: PIG_HOST +command: ssh -q -o 'StrictHostKeyChecking=no' $PIG_HOST /snap/bin/pigbox capabilities diff --git a/units/pig/test-plan.pxu b/units/pig/test-plan.pxu new file mode 100644 index 00000000..071a9277 --- /dev/null +++ b/units/pig/test-plan.pxu @@ -0,0 +1,16 @@ +id: pig-enabled-full +unit: test plan +_name: Tests using Pi Testing Rig +_description: Tests using Pi Testing Rig +include: +nested_part: + pig-enabled-automated + +id: pig-enabled-automated +unit: test plan +_name: Tests using Pi Testing Rig (Automated) +_description: Tests using Pi Testing Rig (Automated) +include: + monitor/pig-edid +bootstrap_include: + pig |