aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2018-06-18 12:19:45 +0200
committerRichard Leitner <richard.leitner@skidata.com>2018-06-19 14:15:12 +0200
commit2a001736248137de0ab1737955b341324f699aa5 (patch)
tree9f3f59c20e6d84a6763231a460bf4bf0e0ba2aac
parentbf6f6c6d9547645e6c1988ebb510f415e7336500 (diff)
downloadmeta-java-2a001736248137de0ab1737955b341324f699aa5.tar.gz
meta-java-2a001736248137de0ab1737955b341324f699aa5.tar.bz2
meta-java-2a001736248137de0ab1737955b341324f699aa5.zip
images/classes: add open{jdk,jre}-{7,8} test
Add image classes and images for open{jdk,jre}-{7,8} oeqa tests. These will be the basis for future "quality gates". Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--classes/openjdk-test-image.bbclass5
-rw-r--r--classes/openjre-test-image.bbclass9
-rw-r--r--recipes-images/images/openjdk-7-test-image.bb3
-rw-r--r--recipes-images/images/openjdk-8-test-image.bb3
-rw-r--r--recipes-images/images/openjre-7-test-image.bb3
-rw-r--r--recipes-images/images/openjre-8-test-image.bb3
6 files changed, 26 insertions, 0 deletions
diff --git a/classes/openjdk-test-image.bbclass b/classes/openjdk-test-image.bbclass
new file mode 100644
index 0000000..f6e4fca
--- /dev/null
+++ b/classes/openjdk-test-image.bbclass
@@ -0,0 +1,5 @@
+DESCRIPTION = "An image for OpenJDK testing purposes"
+
+TEST_SUITES_append = " javac"
+
+inherit openjre-test-image
diff --git a/classes/openjre-test-image.bbclass b/classes/openjre-test-image.bbclass
new file mode 100644
index 0000000..77dbd74
--- /dev/null
+++ b/classes/openjre-test-image.bbclass
@@ -0,0 +1,9 @@
+DESCRIPTION = "An image for OpenJRE testing purposes"
+
+IMAGE_FEATURES += "ssh-server-openssh package-management"
+
+IMAGE_INSTALL = "${CORE_IMAGE_BASE_INSTALL}"
+
+DEFAULT_TEST_SUITES_pn-${PN} = "ping ssh java"
+
+inherit core-image
diff --git a/recipes-images/images/openjdk-7-test-image.bb b/recipes-images/images/openjdk-7-test-image.bb
new file mode 100644
index 0000000..1e6d734
--- /dev/null
+++ b/recipes-images/images/openjdk-7-test-image.bb
@@ -0,0 +1,3 @@
+IMAGE_INSTALL_append = " openjdk-7-jdk "
+
+inherit openjdk-test-image
diff --git a/recipes-images/images/openjdk-8-test-image.bb b/recipes-images/images/openjdk-8-test-image.bb
new file mode 100644
index 0000000..d2eb040
--- /dev/null
+++ b/recipes-images/images/openjdk-8-test-image.bb
@@ -0,0 +1,3 @@
+IMAGE_INSTALL_append = " openjdk-8 "
+
+inherit openjdk-test-image
diff --git a/recipes-images/images/openjre-7-test-image.bb b/recipes-images/images/openjre-7-test-image.bb
new file mode 100644
index 0000000..2616255
--- /dev/null
+++ b/recipes-images/images/openjre-7-test-image.bb
@@ -0,0 +1,3 @@
+IMAGE_INSTALL_append = " openjdk-7-jre "
+
+inherit openjre-test-image
diff --git a/recipes-images/images/openjre-8-test-image.bb b/recipes-images/images/openjre-8-test-image.bb
new file mode 100644
index 0000000..e722ec3
--- /dev/null
+++ b/recipes-images/images/openjre-8-test-image.bb
@@ -0,0 +1,3 @@
+IMAGE_INSTALL_append = " openjre-8 "
+
+inherit openjre-test-image