summaryrefslogtreecommitdiff
path: root/units/self
diff options
authorPMR <pmr@pmr-lander>2019-08-22 09:36:58 +0000
committerPMR <pmr@pmr-lander>2019-08-22 09:36:58 +0000
commit4e79129c7ab2e6663d986ba708f4afac538edb06 (patch)
tree51ef3744744e5cd4d1c31d5d6c7acfb3c0fc82a5 /units/self
parent6e5921c2458a8f1f55e69027796c0bac59468ec2 (diff)
parent4c0073ac5615d11268a943cf21c1627ebf902547 (diff)
Merge #371568 from ~jocave/plainbox-provider-checkbox:merge-provider-snappy
Diffstat (limited to 'units/self')
-rw-r--r--units/self/jobs.pxu12
-rw-r--r--units/self/test-plan.pxu26
2 files changed, 38 insertions, 0 deletions
diff --git a/units/self/jobs.pxu b/units/self/jobs.pxu
new file mode 100644
index 00000000..f085a590
--- /dev/null
+++ b/units/self/jobs.pxu
@@ -0,0 +1,12 @@
+
+unit: template
+template-engine: jinja2
+template-resource: interface
+template-filter: interface.interface == 'content' and interface.type == 'plug' and interface.snap == '{{ __system_env__["SNAP_NAME"] }}'
+id: self/content-plug-connected-{{ name }}
+_summary: Ensure the content interface plug {{ name }} is connected
+plugin: shell
+command:
+ plug_connected_test.py {{ snap }} {{ name }}
+estimated_duration: 1.0
+
diff --git a/units/self/test-plan.pxu b/units/self/test-plan.pxu
new file mode 100644
index 00000000..bfb3220a
--- /dev/null
+++ b/units/self/test-plan.pxu
@@ -0,0 +1,26 @@
+
+id: self-full
+unit: test plan
+_name: Self tests
+_description: Tests to make sure the checkbox snap is setup correctly
+include:
+nested_part:
+ self-manual
+ self-automated
+
+
+id: self-manual
+unit: test plan
+_name: Manual self tests
+_description: Manual tests to make sure the checkbox snap is setup correctly
+include:
+
+
+id: self-automated
+unit: test plan
+_name: Automated self tests
+_description: Automated tests to make sure the checkbox snap is setup correctly
+include:
+ self/content-plug-connected-.*
+bootstrap_include:
+ interface