Parcourir la source

Make sure ct_testspec is loaded

... before calling erlang:function_exported(ct_testspec,get_tests,1).
pull/1407/head
Siri Hansen il y a 8 ans
Parent
révision
998c6756b7
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      src/rebar_prv_common_test.erl

+ 1
- 0
src/rebar_prv_common_test.erl Voir le fichier

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

Chargement…
Annuler
Enregistrer