Skip to content

Commit

Permalink
Merge branch 'rickard/leopard-max-threads' into dev
Browse files Browse the repository at this point in the history
* rickard/leopard-max-threads:
  Skip ethread_SUITE:max_threads test on MacOS X Leopard
  • Loading branch information
rickard-green committed Dec 1, 2010
2 parents 07881ee + 37f928e commit b26d90c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion erts/test/ethread_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,15 @@ max_threads(doc) ->
max_threads(suite) ->
[];
max_threads(Config) ->
run_case(Config, "max_threads", "").
case {os:type(), os:version()} of
{{unix,darwin}, {9, _, _}} ->
%% For some reason pthread_create() crashes when more
%% threads cannot be created, instead of returning an
%% error code on our MacOS X Leopard machine...
{skipped, "MacOS X Leopard cannot cope with this test..."};
_ ->
run_case(Config, "max_threads", "")
end.

tsd(doc) ->
["Tests thread specific data."];
Expand Down

0 comments on commit b26d90c

Please sign in to comment.