Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion functional/OpenJcePlusTests/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
<arg value="-f"/>
<arg value="${repo_sha}"/>
</exec>
<checkGitRepoSha repoDir="OpenJCEPlus" />
<addTestenvProperties repoDir="OpenJCEPlus" repoName="OpenJCEPlus"/>

<delete dir="./OpenJCEPlus/src/main" />
Expand Down
1 change: 0 additions & 1 deletion functional/security/Crypto/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
</if>
<target name="getCryptoTest" depends="cryptoTest.check" unless="cryptoTestdir.exists">
<getFileWithRetry file="CryptoTest" command="git clone --depth 1 -q ${GIT_REPO}rh-openjdk/CryptoTest.git -b master CryptoTest"/>
<checkGitRepoSha repoDir="CryptoTest"/>
</target>

<target name="init">
Expand Down
32 changes: 10 additions & 22 deletions get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,6 @@ getTestKitGen()
echo "git checkout -q -f $tkg_sha"
git checkout -q -f $tkg_sha

checkTestRepoSHAs
}

getCustomJtreg()
Expand Down Expand Up @@ -660,8 +659,11 @@ getFunctionalTestMaterial()
else
mv openj9/test/functional functional
fi

rm -rf openj9

cd openj9
git rm -rqf .
git clean -fxd
cd $TESTDIR
}

getVendorTestMaterial() {
Expand Down Expand Up @@ -746,7 +748,11 @@ getVendorTestMaterial() {
fi

# clean up
rm -rf $dest
cd $dest
git rm -rqf .
git clean -fxd
cd $TESTDIR

done
}

Expand Down Expand Up @@ -808,30 +814,12 @@ testJavaVersion()

checkRepoSHA()
{
sha_file="$TESTDIR/TKG/SHA.txt"
testenv_file="$TESTDIR/testenv/testenv.properties"

echo "$TESTDIR/TKG/scripts/getSHA.sh --repo_dir $1 --output_file $sha_file"
$TESTDIR/TKG/scripts/getSHA.sh --repo_dir $1 --output_file $sha_file

echo "$TESTDIR/TKG/scripts/getTestenvProperties.sh --repo_dir $1 --output_file $testenv_file --repo_name $2"
$TESTDIR/TKG/scripts/getTestenvProperties.sh --repo_dir $1 --output_file $testenv_file --repo_name $2
}

checkTestRepoSHAs()
{
echo "check adoptium repo and TKG repo SHA"

output_file="$TESTDIR/TKG/SHA.txt"
if [ -e ${output_file} ]; then
echo "rm $output_file"
rm ${output_file}
fi

checkRepoSHA "$TESTDIR" "ADOPTOPENJDK"
checkRepoSHA "$TESTDIR/TKG" "TKG"
}

checkOpenJ9RepoSHA()
{
echo "check OpenJ9 Repo sha"
Expand Down
1 change: 0 additions & 1 deletion openjdk/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@
</if>
</else>
</if>
<checkGitRepoSha repoDir="openjdk-jdk"/>
<addTestenvProperties repoDir="openjdk-jdk" repoName="JDK${env.JDK_VERSION}"/>
</target>

Expand Down
3 changes: 0 additions & 3 deletions system/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
</exec>
</then>
</if>
<checkGitRepoSha repoDir="${SYSTEMTEST_ROOT}/STF" />
<addTestenvProperties repoDir="${SYSTEMTEST_ROOT}/STF" repoName="STF"/>
</target>
<target name="clone_systemtest">
Expand Down Expand Up @@ -181,7 +180,6 @@
</exec>
</then>
</if>
<checkGitRepoSha repoDir="${SYSTEMTEST_ROOT}/aqa-systemtest" />
<addTestenvProperties repoDir="${SYSTEMTEST_ROOT}/aqa-systemtest" repoName="AQA_SYSTEMTEST" />
</target>

Expand Down Expand Up @@ -251,7 +249,6 @@
</exec>
</then>
</if>
<checkGitRepoSha repoDir="${SYSTEMTEST_ROOT}/openj9-systemtest" />
<addTestenvProperties repoDir="${SYSTEMTEST_ROOT}/openj9-systemtest" repoName="OPENJ9_SYSTEMTEST"/>
</target>

Expand Down