forked from OSchip/llvm-project
Turn off core dumps before starting the main body of test-release.sh.
Summary: Some of the regression tests, such as those for the various sanitizers, use huge shadow memory maps (showing up in top as 20 TiB). If any of those ever crashes, your test system's disk will be filled up until everything falls over. Set the ulimit for core dumps to 0 to prevent this problem. Reviewers: hans, tstellar, rovka Reviewed By: hans Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76191
This commit is contained in:
parent
91f110f50e
commit
9daadcec81
|
@ -484,6 +484,10 @@ function package_release() {
|
|||
set -e
|
||||
set -o pipefail
|
||||
|
||||
# Turn off core dumps, as some test cases can easily fill up even the largest
|
||||
# file systems.
|
||||
ulimit -c 0
|
||||
|
||||
if [ "$do_checkout" = "yes" ]; then
|
||||
export_sources
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue