瀏覽代碼

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);

Loading…
取消
儲存