diff options
author | Björn Gustavsson <[email protected]> | 2011-11-25 15:03:12 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-11-25 15:03:12 +0100 |
commit | 803f8ebacd1665fcd7f0f826a5f537bdfd9e350f (patch) | |
tree | 3025ae9730e0791108d04a48611818e9011f8479 | |
parent | 3996b68aaf957a00699494d62c64142ed98e967a (diff) | |
download | otp-803f8ebacd1665fcd7f0f826a5f537bdfd9e350f.tar.gz otp-803f8ebacd1665fcd7f0f826a5f537bdfd9e350f.tar.bz2 otp-803f8ebacd1665fcd7f0f826a5f537bdfd9e350f.zip |
erlc_SUITE:arg_overflow/1: Lower number of options for MacOS X Lion
On my Mac, the highest successful value was 7673. The new value
provides some safety margin.
-rw-r--r-- | erts/test/erlc_SUITE.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/test/erlc_SUITE.erl b/erts/test/erlc_SUITE.erl index 1f459a9207..6c0d662126 100644 --- a/erts/test/erlc_SUITE.erl +++ b/erts/test/erlc_SUITE.erl @@ -238,6 +238,12 @@ num_d_options() -> %% of arguments is 16383. %% See: http://www.in-ulm.de/~mascheck/various/argmax/ 5440; + {{unix,darwin},{Major,_,_}} when Major >= 11 -> + %% "getconf ARG_MAX" still reports 262144 (as in previous + %% version of MacOS X), but the useful space seem to have + %% shrunk significantly (or possibly the number of arguments). + %% 7673 + 7500; {_,_} -> 12000 end. |