Skip to content

Commit c54480b

Browse files
committed
Merge branch 'ingela/ssl/test-cuddle-dist-bench' into maint
* ingela/ssl/test-cuddle-dist-bench: ssl: Avoid running dist benchmark on 32bit Windows
2 parents 04658c7 + 61ccc7b commit c54480b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/ssl/test/ssl_dist_bench_SUITE.erl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ init_per_suite(Config) ->
149149
try
150150
Node =/= nonode@nohost orelse
151151
throw({Skip,"Node not distributed"}),
152+
verify_os_type(Skip),
152153
verify_node_src_addr(),
153154
{supported, SSLVersions} =
154155
lists:keyfind(supported, 1, ssl:versions()),
@@ -429,6 +430,14 @@ ktls_supported() ->
429430
%%%-------------------------------------------------------------------
430431
%%% CommonTest API helpers
431432

433+
verify_os_type(Skipped) ->
434+
case {os:type(), erlang:system_info(wordsize)} of
435+
{{win32,_}, 4} ->
436+
throw({Skipped,"32b Windows"});
437+
_ ->
438+
ok
439+
end.
440+
432441
verify_node_src_addr() ->
433442
Msg = "Hello, world!",
434443
{ok,Host} = inet:gethostname(),

0 commit comments

Comments
 (0)