[llvm-commits] [test-suite] r153025 - /test-suite/trunk/RunSafely.sh
Daniel Dunbar
daniel at zuster.org
Sun Mar 18 12:38:05 PDT 2012
Author: ddunbar
Date: Sun Mar 18 14:38:05 2012
New Revision: 153025
URL: http://llvm.org/viewvc/llvm-project?rev=153025&view=rev
Log:
[test-suite] RunSafely: Adjust the limit for file sizes. The comment lied,
bash's ulimit -f is in multiples of 1024 so previous the limit was 10GB not
10MB. Turns out when I made it actually be 10MB, that is too small for two
current tests.
- Set the limit to be 100MB instead.
Modified:
test-suite/trunk/RunSafely.sh
Modified: test-suite/trunk/RunSafely.sh
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/RunSafely.sh?rev=153025&r1=153024&r2=153025&view=diff
==============================================================================
--- test-suite/trunk/RunSafely.sh (original)
+++ test-suite/trunk/RunSafely.sh Sun Mar 18 14:38:05 2012
@@ -115,11 +115,13 @@
LIMITARGS="$LIMITARGS --limit-cpu $TIMELIMIT"
# To prevent infinite loops which fill up the disk, specify a limit on size
- # of files being output by the tests. 10 MB should be enough for anybody. ;)
- LIMITARGS="$LIMITARGS --limit-file-size 10485760"
+ # of files being output by the tests.
+ #
+ # We set the limit at 100MB.
+ LIMITARGS="$LIMITARGS --limit-file-size 104857600"
- # virtual memory: 800 MB should be enough for anybody. ;)
- LIMITARGS="$LIMITARGS --limit-rss-size 800000000"
+ # Set the virtual memory limit at 800MB.
+ LIMITARGS="$LIMITARGS --limit-rss-size 838860800"
esac
# Run the command, timing its execution and logging the status summary to
More information about the llvm-commits
mailing list