summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorstanley31 <stanley.huang@canonical.com>2020-08-04 11:44:19 +0800
committerstanley31 <stanley.huang@canonical.com>2020-08-04 11:44:19 +0800
commit0ed8419e98b821bb80abb5adfaf8db9640226c2a (patch)
tree5949afd737847654e51bc690dbbb4cd985230e37 /jobs
parent81593ad6526d3ac3c13db3c1a5830b69c2b10797 (diff)
Add a test case to compare OEM meta version
- create a check-oem-package-source.py. - create check-oem-platform-meta and check-oem-platform-factory-meta. - create new meta test plan for somerville, stella and sutton.
Diffstat (limited to 'jobs')
-rw-r--r--jobs/misc/misc-generic.txt15
-rw-r--r--jobs/somerville/somerville-oem-meta.pxu9
-rw-r--r--jobs/stella/stella-oem-meta.pxu10
-rw-r--r--jobs/sutton/sutton-oem-meta.pxu11
4 files changed, 45 insertions, 0 deletions
diff --git a/jobs/misc/misc-generic.txt b/jobs/misc/misc-generic.txt
index 0f3f53b..dea1b8b 100644
--- a/jobs/misc/misc-generic.txt
+++ b/jobs/misc/misc-generic.txt
@@ -39,3 +39,18 @@ command: check_package.sh gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly lib
_summary: Check if unwanted packages are installed
_description:
For some packages which may have license or patent issues, this case checks if they are installed.
+
+plugin: shell
+id: misc/generic/check-oem-platform-meta
+command: check-oem-package-source.py
+_summary: Check OEM Platform mata exists in manifest, OEM and Ubuntu archive
+_description:
+ To validate the OEM platform meta in manifest, OEM archive and Ubuntu archive.
+ This test cases only supported in focal and later.
+
+plugin: shell
+id: misc/generic/check-oem-platform-factory-meta
+command: check-oem-package-source.py --check-factory --no-check-version
+_summary: Check OEM Platform factory mata exists in manifest, OEM and Ubuntu archive
+_description:
+ To validate the OEM platform factory meta in manifest, OEM archive and Ubuntu archive. \ No newline at end of file
diff --git a/jobs/somerville/somerville-oem-meta.pxu b/jobs/somerville/somerville-oem-meta.pxu
new file mode 100644
index 0000000..903b17f
--- /dev/null
+++ b/jobs/somerville/somerville-oem-meta.pxu
@@ -0,0 +1,9 @@
+unit: test plan
+id: somerville-oem-meta
+_name: Somerville OEM meta test
+_description: Somerville OEM Meta file test
+include:
+ somerville/platform-meta-test
+ misc/generic/check-oem-platform-meta
+nested_part:
+
diff --git a/jobs/stella/stella-oem-meta.pxu b/jobs/stella/stella-oem-meta.pxu
new file mode 100644
index 0000000..436fcf5
--- /dev/null
+++ b/jobs/stella/stella-oem-meta.pxu
@@ -0,0 +1,10 @@
+unit: test plan
+id: stella-oem-meta
+_name: Stella OEM meta test
+_description: Stella OEM meta test
+include:
+ stella/sourcelist/.*-repository$
+ misc/generic/check-oem-platform-meta
+ misc/generic/check-oem-platform-factory-meta
+nested_part:
+
diff --git a/jobs/sutton/sutton-oem-meta.pxu b/jobs/sutton/sutton-oem-meta.pxu
new file mode 100644
index 0000000..5c1eb5e
--- /dev/null
+++ b/jobs/sutton/sutton-oem-meta.pxu
@@ -0,0 +1,11 @@
+unit: test plan
+id: sutton-oem-meta
+_name: Sutton OEM meta test
+_description: Sutton OEM meta test
+include:
+ com.canonical.ce::sutton/sourceslist/focal-oem
+ com.canonical.ce::sutton/sourceslist/security
+ com.canonical.ce::sutton/sourceslist/meta
+ misc/generic/check-oem-platform-meta
+ misc/generic/check-oem-platform-factory-meta
+nested_part: