Skip to content

Commit

Permalink
pbTests: Update testJDK.sh (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
Willsparker authored and sxa555 committed Dec 16, 2019
1 parent 29ce5a6 commit 9742435
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions ansible/pbTestScripts/testJDK.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
#!/bin/bash

mv /vagrant/pbTestScripts/workspace/build/src/build/linux-x86_64-normal-server-release/images/jdk8* ~
export TEST_JDK_HOME=$(find ~ -maxdepth 1 -type d -name "*jdk8u*"|grep -v ".*jre.*")
cd $HOME && mkdir -p testLocation
cd testLocation && git clone https://github.com/adoptopenjdk/openjdk-tests
cd openjdk-tests
./get.sh -t $HOME/testLocation/openjdk-tests
cd TestConfig
mv $HOME/openjdk-build/workspace/build/src/build/linux-x86_64-normal-server-release/images/jdk8* $HOME
export TEST_JDK_HOME=$(find $HOME -maxdepth 1 -type d -name "*jdk8u*"|grep -v ".*jre.*")
mkdir -p $HOME/testLocation
[ ! -d $HOME/testLocation/openjdk-tests ] && git clone https://github.com/adoptopenjdk/openjdk-tests $HOME/testLocation/openjdk-tests
$HOME/testLocation/openjdk-tests/get.sh -t $HOME/testLocation/openjdk-tests
cd $HOME/testLocation/openjdk-tests/TKG || exit 1
make -f run_configure.mk
export BUILD_LIST=MachineInfo
make compile
make _MachineInfo

0 comments on commit 9742435

Please sign in to comment.