diff --git a/ansible/pbTestScripts/testJDK.sh b/ansible/pbTestScripts/testJDK.sh index 1cd339f9ab..b53530d09f 100755 --- a/ansible/pbTestScripts/testJDK.sh +++ b/ansible/pbTestScripts/testJDK.sh @@ -17,28 +17,31 @@ if [[ "$(uname)" == "SunOS" ]]; then export PATH="/usr/local/bin:/opt/csw/bin:${PATH}" fi +## Run The Smoke Tests To Ensure The JDK Build OK mkdir -p $HOME/testLocation [ ! -d $HOME/testLocation/aqa-tests ] && git clone https://github.com/adoptium/aqa-tests.git $HOME/testLocation/aqa-tests # cd to aqa-tests as required by https://github.com/adoptium/aqa-tests/issues/2691#issue-932959102 cd $HOME/testLocation/aqa-tests -$HOME/testLocation/aqa-tests/get.sh +$HOME/testLocation/aqa-tests/get.sh --vendor_repos https://github.com/adoptium/temurin-build --vendor_branches master --vendor_dirs /test/functional cd $HOME/testLocation/aqa-tests/TKG || exit 1 +export BUILD_LIST=functional/buildAndPackage +$MAKE_COMMAND compile +$MAKE_COMMAND _extended.functional -# Solaris runs a different test to Linux. -# See: https://adoptium.slack.com/archives/C53GHCXL4/p1641311568115100?thread_ts=1641296204.114900&cid=C53GHCXL4 -if [[ "$(uname)" == "SunOS" ]]; then - export BUILD_LIST=system - $MAKE_COMMAND compile - $MAKE_COMMAND _MachineInfo -else - # Runs this test to check for prerequisite perl modules - export BUILD_LIST=functional - $MAKE_COMMAND compile - $MAKE_COMMAND _MBCS_Tests_pref_ja_JP_linux_0 -fi +# Run a few subsets of OpenJDK Tests as a shakedown of the built JDK. +export BUILD_LIST=openjdk +$MAKE_COMMAND compile +$MAKE_COMMAND _hotspot_sanity_0 +$MAKE_COMMAND _jdk_math_0 + +# Run Some Additional Tests To Test The Playbooks Have Run Properly +export BUILD_LIST=functional +$MAKE_COMMAND compile +$MAKE_COMMAND _MBCS_Tests_pref_ja_JP_linux_0 +$MAKE_COMMAND _MBCS_Tests_formatter_ja_JP_linux_0 # Run SSL Client Tests Linux Only ( Not Solaris / FreeBSD ) -if [[ "$(uname)" == "FreeBSD" ]] || [["$(uname)" == "SunOS"]]; then +if [[ "$(uname)" == "FreeBSD" ]] || [[ "$(uname)" == "SunOS" ]]; then echo "Skipping SSL Tests As Not Supported" else export TESTJAVA=$TEST_JDK_HOME diff --git a/ansible/pbTestScripts/testJDKWin.sh b/ansible/pbTestScripts/testJDKWin.sh index 555089a2d8..2a577afc27 100755 --- a/ansible/pbTestScripts/testJDKWin.sh +++ b/ansible/pbTestScripts/testJDKWin.sh @@ -15,6 +15,9 @@ rm -rf /cygdrive/c/tmp/*-test-image export TEST_JDK_HOME=`ls -d c:/tmp/jdk*|grep -v "static"|grep -v "debug"|grep -v "jre"|grep -v "test-image"` echo TEST_JDK_HOME=$TEST_JDK_HOME +## Run The Same Tests As Test JDK for Linux +## Run The Smoke Tests To Ensure The JDK Build OK + cd /cygdrive/c/tmp if [ ! -d "testLocation" ]; then @@ -22,15 +25,27 @@ then mkdir testLocation fi cd testLocation -if [ ! -d "openjdk-tests" ]; -then - echo "Git cloning openjdk-tests" - git clone https://github.com/adoptopenjdk/openjdk-tests -fi -cd openjdk-tests +git clone https://github.com/adoptium/aqa-tests.git +pwd +ls -tr +cd aqa-tests +./get.sh --vendor_repos https://github.com/adoptium/temurin-build --vendor_branches master --vendor_dirs /test/functional +pwd +ls -ltr +cd TKG || exit 1 -./get.sh -T $HOME/testLocation/openjdk-tests -p x64_windows -cd TKG -export BUILD_LIST=system +## Run The Smoke Tests To Ensure The JDK Build OK +export BUILD_LIST=functional/buildAndPackage make compile -make _extended.system +make _extended.functional + +# Run a few subsets of OpenJDK Tests as a shakedown of the built JDK. +export BUILD_LIST=openjdk +make compile +make _hotspot_sanity_0 +make _jdk_math_0 + +# Run Some Additional Tests To Test The Playbooks Have Run Properly +export BUILD_LIST=functional +make _MBCS_Tests_pref_ja_windows_0 +make _MBCS_Tests_formatter_ja_windows_0 diff --git a/ansible/vagrant/Vagrantfile.Fedora40 b/ansible/vagrant/Vagrantfile.Fedora40 index 70ee8f4f04..2cc45cc060 100644 --- a/ansible/vagrant/Vagrantfile.Fedora40 +++ b/ansible/vagrant/Vagrantfile.Fedora40 @@ -6,6 +6,9 @@ $script = <