1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 17:59:31 +02:00

Disable commands tests for old Erlang/OTP versions

Since recently, this test fails with Erlang/OTP 22 and lower:
  =result        failed:
    {test_case_failed,
     "Received input:
      [{error,{compilation_failed,
         \"/home/runner/.ejabberd-modules/sources/ejabberd-contrib/mod_example/src/mod_example.erl\"}}]
      don't match expected patterns:ok"},
This commit is contained in:
Badlop 2025-03-18 12:02:17 +01:00
parent b901a69f5c
commit ad8e325139

View file

@ -34,6 +34,13 @@
%%%==================================
%%%% setup
-ifdef(OTP_BELOW_24).
single_cases() ->
{commands_single, [sequence], []}.
-else.
single_cases() ->
{commands_single,
[sequence],
@ -51,6 +58,8 @@ single_cases() ->
single_test(http_list_tuple_map),
single_test(clean)]}.
-endif.
setup(_Config) ->
M = <<"mod_example">>,
clean(_Config),