Browse Source

Make sure ct_testspec is loaded

... before calling erlang:function_exported(ct_testspec,get_tests,1).
pull/1407/head
Siri Hansen 8 years ago
parent
commit
998c6756b7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/rebar_prv_common_test.erl

+ 1
- 0
src/rebar_prv_common_test.erl View File

@ -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…
Cancel
Save