aboutsummaryrefslogtreecommitdiff
path: root/jdkX-build-image.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2019-07-10 15:11:02 +0100
committerStuart Monteith <stuart.monteith@linaro.org>2019-07-10 14:18:14 +0000
commita60a3f0933fe305d5290395afa85b27899ff2bde (patch)
treee67a248a66145470182764ab989f98ad2396dda9 /jdkX-build-image.yaml
parent92e52861ebdca9b1facaf3a7998a3403508e8c07 (diff)
jdk: Fix gtestwrapper jtreg test
Copy gtest materials into the correct place. Change-Id: I887238e4212d9b21c4984632c351dda708da29c2
Diffstat (limited to 'jdkX-build-image.yaml')
-rw-r--r--jdkX-build-image.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/jdkX-build-image.yaml b/jdkX-build-image.yaml
index 2b0fee01..b747d582 100644
--- a/jdkX-build-image.yaml
+++ b/jdkX-build-image.yaml
@@ -84,12 +84,12 @@
pushd build-stage2
sh ../jdkX/configure --with-debug-level=${BUILD_TYPE} --with-boot-jdk=${WORKSPACE}/build-stage1/images/jdk ${ccache_build_opts}
- make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
+ make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native test-image-hotspot-gtest
popd
else
pushd build-stage2
sh ../jdkX/configure --with-debug-level=${BUILD_TYPE} ${ccache_build_opts}
- make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native
+ make images build-test-hotspot-jtreg-native build-test-jdk-jtreg-native test-image-hotspot-gtest
popd
fi
@@ -97,6 +97,10 @@
artifact_name=jdkX-${BUILD_TYPE}
tar -C build-stage2/images/jdk --exclude=\*.diz --transform="s!^./!$artifact_name/!" -acf out/${artifact_name}.tar.gz .
+ # Copy gtest materials to the correct place.
+ mkdir -p support/test/hotspot/gtest/server
+ cp -r hotspot/variant-server/libjvm/gtest/gtestLauncher hotspot/variant-server/libjvm/gtest/libjvm.so support/test/hotspot/gtest/server
+
# Archive test support files.
tar -C build-stage2/ --exclude=hotspot/jtreg/native/support/\* --transform="s!^support/!${artifact_name}-support/support/!" -acf out/${artifact_name}-support.tar.gz support/test
publishers: