Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip scheduler select nif tests on windows
Browse files Browse the repository at this point in the history
garazdawi committed Jan 13, 2025
1 parent b066671 commit 89fc8b6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions erts/emulator/test/nif_SUITE.erl
Original file line number Diff line number Diff line change
@@ -300,7 +300,8 @@ init_per_testcase(nif_whereis_threaded, Config) ->
false -> {skip, "No thread support"}
end;
init_per_testcase(Select, Config) when Select =:= select;
Select =:= select_steal ->
Select =:= select_steal;
Select =:= select_scheduler ->
case os:type() of
{win32,_} ->
{skip, "Test not yet implemented for windows"};
@@ -1029,11 +1030,11 @@ select_scheduler(Config) ->
{ok, Peer, Node} = ?CT_PEER(#{ args => ["+IOs","false"]}),

erpc:call(Node, fun() ->
ensure_lib_loaded(Config),
select_scheduler_do(0, make_ref(), null),
select_scheduler_do(?ERL_NIF_SELECT_CUSTOM_MSG, [a, "list", RefBin], null),
select_scheduler_do(?ERL_NIF_SELECT_CUSTOM_MSG, [a, "list", RefBin], alloc_env)
end),
ensure_lib_loaded(Config),
select_scheduler_do(0, make_ref(), null),
select_scheduler_do(?ERL_NIF_SELECT_CUSTOM_MSG, [a, "list", RefBin], null),
select_scheduler_do(?ERL_NIF_SELECT_CUSTOM_MSG, [a, "list", RefBin], alloc_env)
end),

peer:stop(Peer);
_ ->

0 comments on commit 89fc8b6

Please sign in to comment.