Skip to content

Commit

Permalink
check: Reword the warning to be more prescriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
richo committed Mar 28, 2015
1 parent 146264c commit 4af204d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/etc/check-sanitycheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ def inner():
def check_rlimit_core():
soft, hard = resource.getrlimit(resource.RLIMIT_CORE)
if soft > 0:
error_unless_permitted('ALLOW_NONZERO_RLIMIT_CORE',
("The rust test suite will segfault many rustc's in the debuginfo phase.\n"
"set ALLOW_NONZERO_ULIMIT to ignore this warning\n"))
error_unless_permitted('ALLOW_NONZERO_RLIMIT_CORE', """\
RLIMIT_CORE is set to a nonzero value (%d). During debuginfo, the test suite
will segfault many rustc's, creating many potentially large core files.
set ALLOW_NONZERO_RLIMIT_CORE to ignore this warning
""" % (soft))


def main():
Expand Down

0 comments on commit 4af204d

Please sign in to comment.