Переглянути джерело

Make sure ct_testspec is loaded

... before calling erlang:function_exported(ct_testspec,get_tests,1).
pull/1407/head
Siri Hansen 8 роки тому
джерело
коміт
998c6756b7
1 змінених файлів з 1 додано та 0 видалено
  1. +1
    -0
      src/rebar_prv_common_test.erl

+ 1
- 0
src/rebar_prv_common_test.erl Переглянути файл

@ -554,6 +554,7 @@ get_dirs_from_specs(Specs) ->
end.
get_tests_from_specs(Specs) ->
_ = ct_testspec:module_info(), % make sure ct_testspec is loaded
case erlang:function_exported(ct_testspec,get_tests,1) of
true ->
ct_testspec:get_tests(Specs);

Завантаження…
Відмінити
Зберегти