[oe] [meta-java][PATCH] oeqa: runtime: java: skip java7 comp test for ppc

Richard Leitner richard.leitner at skidata.com
Wed Sep 12 07:03:42 UTC 2018


Furthermore adapt the Known Limitations sections in the README.

Signed-off-by: Richard Leitner <richard.leitner at skidata.com>
---
 README                         | 33 ++++++++++++++++++++-------------
 lib/oeqa/runtime/cases/java.py |  1 +
 2 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/README b/README
index 0f510d7..4119198 100644
--- a/README
+++ b/README
@@ -75,19 +75,26 @@ into your test image. More information on image testing is available at:
 Known Limitations/Bugs
 ----------------------
 
-OpenJDK:
-	The following OpenJDK version/target-architecture combinations currently
-	only support "interpreted mode":
-		openjdk-8 on arm except armv7
-		openjdk-7 on aarch64
-		openjdk-7 on x86
-		openjdk-7 on x86-64
-
-	The following target-architectures currently fail building
-	openjdk-7-jre, openjdk-7, openjdk-8 and openjre-8:
-		mips (tested with qemumips)
-		mips64 (tested with qemumips64)
-		ppc (tested with qemuppc)
+OpenJDK version/libc/target architecture support matrix:
+-------+-----------------+-----------------+-----------------+-----------------+
+       | OpenJDK-7/glibc | OpenJDK-7/musl  | OpenJDK-8/glibc | OpenJDK-8/musl  |
+-------+-----------------+-----------------+-----------------+-----------------+
+arm    |       O K       |  build failure  |    int. mode    |    int. mode    |
+-------+-----------------+-----------------+-----------------+-----------------+
+armv7  |       O K       |  build failure  |       O K       |       O K       |
+-------+-----------------+-----------------+-----------------+-----------------+
+arm64  |    int. mode    |  build failure  |       O K       |       O K       |
+-------+-----------------+-----------------+-----------------+-----------------+
+x86    |    int. mode    |  build failure  |       O K       |  build failure  |
+-------+-----------------+-----------------+-----------------+-----------------+
+x86-64 |    int. mode    |  build failure  |       O K       |       O K       |
+-------+-----------------+-----------------+-----------------+-----------------+
+mips   |  build failure  |  build failure  |  build failure  |  build failure  |
+-------+-----------------+-----------------+-----------------+-----------------+
+mips64 |  build failure  |  build failure  |  build failure  |  build failure  |
+-------+-----------------+-----------------+-----------------+-----------------+
+ppc    |    int. mode    |  build failure  |  build failure  |  build failure  |
+-------+-----------------+-----------------+-----------------+-----------------+
 
 If you encounter any other problems or bugs please report them to our mailing
 list at openembedded-devel at lists.openembedded.org.
diff --git a/lib/oeqa/runtime/cases/java.py b/lib/oeqa/runtime/cases/java.py
index 661b208..6bcdd03 100644
--- a/lib/oeqa/runtime/cases/java.py
+++ b/lib/oeqa/runtime/cases/java.py
@@ -58,6 +58,7 @@ class JavaTest(OERuntimeTestCase):
     @skipIfDataVar('ARCH', 'arm64', 'OpenJDK 7 compiled mode not yet supported for aarch64')
     @skipIfDataVar('ARCH', 'x86', 'OpenJDK 7 compiled mode not yet supported for x86')
     @skipIfDataVar('ARCH', 'x86-64', 'OpenJDK 7 compiled mode not yet supported for x86-64')
+    @skipIfDataVar('ARCH', 'ppc', 'OpenJDK 7 compiled mode not yet supported for ppc')
     def test_java7_jar_comp_mode(self):
         status, output = self.target.run('java -showversion -Xcomp -jar /tmp/test.jar')
         msg = 'Exit status was not 0. Output: %s' % output
-- 
2.11.0




More information about the Openembedded-devel mailing list