diff options
author | Andrew McDermott <andrew.mcdermott@linaro.org> | 2013-11-15 11:06:57 +0000 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2013-11-18 09:59:40 +0000 |
commit | 13fdea026c4a1dd946d8f0e1856446a322890769 (patch) | |
tree | e1cc868c220d89e0596db2e22db0d0ac3d7719db /meta-aarch64 | |
parent | 742d79c48f990f949a895eca78f94e49ad4a419d (diff) |
meta-linaro: add openjdk-8-jtreg package
This package contains the jtreg test code for both jdk and hotspot.
Change-Id: I99c0b75372209207c30a567cc2e72a91d613d525
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
Diffstat (limited to 'meta-aarch64')
-rw-r--r-- | meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc index 20ec1ec3..acc5e22c 100644 --- a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc +++ b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc @@ -61,7 +61,18 @@ do_compile() { do_install() { install -d ${D}${libdir_jvm} - cp -R ${S}/build/${BUILD_DIR}/j2sdk-image ${D}${JDK_HOME} + install -d ${D}${JDK_HOME}/jtreg + install -d ${D}${JDK_HOME}/jtreg/hotspot + install -d ${D}${JDK_HOME}/jtreg/jdk + cp -R ${S}/build/${BUILD_DIR}/j2sdk-image/* ${D}${JDK_HOME} + cp -R ${S}/hotspot/test ${D}${JDK_HOME}/jtreg/hotspot + cp -R ${S}/jdk/test ${D}${JDK_HOME}/jtreg/jdk +# The upstream Mercurial repo has various incompatible binaries checked in. +# Remove these otherwise bitbake complains about mismatched architecture, et al. + find ${D}${JDK_HOME}/jtreg -name \*.so -print | xargs rm + rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/solaris-sparc/launcher + rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/solaris-i586/launcher + rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/linux-i586/launcher chmod -R u+rw,go+r ${D}${JDK_HOME} } @@ -70,6 +81,7 @@ PACKAGES = " \ ${JDKPN}-doc \ ${JDKPN}-source \ ${JDKPN}-demo \ + ${JDKPN}-jtreg \ ${JDKPN}-jre \ " @@ -96,6 +108,10 @@ FILES_${JDKPN}-demo = " \ ${JDK_HOME}/sample \ " +FILES_${JDKPN}-jtreg = " \ + ${JDK_HOME}/jtreg \ + " + FILES_${PN} = " \ ${JDK_HOME}/jre \ " |