Skip to content

Commit

Permalink
pbTests: Update testJDK.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Parker committed Dec 12, 2019
1 parent 9e559ed commit 1493ad4
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions ansible/pbTestScripts/testJDK.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#!/bin/bash

mv /vagrant/pbTestScripts/workspace/build/src/build/linux-x86_64-normal-server-release/images/jdk8* ~
mv $HOME/openjdk-build/workspace/build/src/build/linux-x86_64-normal-server-release/images/jdk8* $HOME
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
make -f run_configure.mk
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 && make -f run_configure.mk
export BUILD_LIST=MachineInfo
make compile
make _MachineInfo

0 comments on commit 1493ad4

Please sign in to comment.