Skip to content

Commit

Permalink
keep .git folder
Browse files Browse the repository at this point in the history
  • Loading branch information
sophia-guo committed Dec 21, 2024
1 parent 280ca14 commit 9564e08
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,13 @@ getFunctionalTestMaterial()
else
mv openj9/test/functional functional
fi

rm -rf openj9

cd openj9
mkdir -p ../git-backup
mv .git ../git-backup
rm -rf *
mv ../git-backup .git
cd $TESTDIR
}

getVendorTestMaterial() {
Expand Down Expand Up @@ -745,7 +750,12 @@ getVendorTestMaterial() {
fi

# clean up
rm -rf $dest
cd $dest
mv .git ../git-backup
rm -rf *
mv ../git-backup .git
cd $TESTDIR

done
}

Expand Down Expand Up @@ -807,11 +817,8 @@ testJavaVersion()

checkRepoSHA()
{
sha_file="$TESTDIR/TKG/SHAs.txt"
echo "$TESTDIR/TKG/scripts/getSHAs.sh --repo_dir $1 --output_file $sha_file"
$TESTDIR/TKG/scripts/getSHAs.sh --test_root_dir $1 --shas_file $sha_file

testenv_file="$TESTDIR/testenv/testenv.properties"

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
}
Expand Down

0 comments on commit 9564e08

Please sign in to comment.