diff options
author | Mickael Remond <mremond@process-one.net> | 2016-03-30 13:59:01 +0200 |
---|---|---|
committer | Mickael Remond <mremond@process-one.net> | 2016-03-30 13:59:01 +0200 |
commit | 6f25122f8c083a14aad8e5be13600bd8872cd73b (patch) | |
tree | a2bb0c52ad9f39d8d18b13606286eef4ad52c697 /test | |
parent | Adds support for option admin_ip_access on mod_http_api (diff) |
Support flagging so Elixir tests as pending
Diffstat (limited to 'test')
-rw-r--r-- | test/elixir_SUITE.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/elixir_SUITE.erl b/test/elixir_SUITE.erl index b9a0b1a23..041d0603e 100644 --- a/test/elixir_SUITE.erl +++ b/test/elixir_SUITE.erl @@ -65,7 +65,9 @@ undefined_function(Module, Func, Args) -> error_handler:undefined_function(Module, Func,Args). run_elixir_test(Func) -> - 'Elixir.ExUnit':start([]), + %% Elixir tests can be tagged as follow to be ignored (place before test start) + %% @tag pending: true + 'Elixir.ExUnit':start([{exclude, [{pending, true}]}]), 'Elixir.Code':load_file(list_to_binary(filename:join(test_dir(), atom_to_list(Func)))), %% I did not use map syntax, so that this file can still be build under R16 ResultMap = 'Elixir.ExUnit':run(), |