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 20, 2024
1 parent 280ca14 commit 2145bef
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,9 @@ getFunctionalTestMaterial()
mv openj9/test/functional functional
fi

rm -rf openj9
cd openj9
find . -mindepth 1 ! -name ".git" ! -path "./.git/*" -exec rm -rf {} +
cd $TESTDIR
}

getVendorTestMaterial() {
Expand Down Expand Up @@ -745,7 +747,10 @@ getVendorTestMaterial() {
fi

# clean up
rm -rf $dest
cd $dest
find . -mindepth 1 ! -name ".git" ! -path "./.git/*" -exec rm -rf {} +
cd $TESTDIR

done
}

Expand Down Expand Up @@ -807,11 +812,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 2145bef

Please sign in to comment.