Increase target cache size for coverage build
This commit is contained in:
parent
1dce5976cf
commit
dccfe31e8c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue