Increase target cache size for coverage build
This commit is contained in:
@ -17,8 +17,8 @@ export PS4="++"
|
|||||||
|
|
||||||
if [[ -d $d ]]; then
|
if [[ -d $d ]]; then
|
||||||
du -hs "$d"
|
du -hs "$d"
|
||||||
read -r cacheSizeInGB _ < <(du -s --block-size=1000000000 "$d")
|
read -r cacheSizeInGB _ < <(du -s --block-size=1800000000 "$d")
|
||||||
if [[ $cacheSizeInGB -gt 10 ]]; then
|
if [[ $cacheSizeInGB -gt 18 ]]; then
|
||||||
echo "$d has gotten too large, removing it"
|
echo "$d has gotten too large, removing it"
|
||||||
rm -rf "$d"
|
rm -rf "$d"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user