diff options
author | Siri Hansen <siri@erlang.org> | 2016-12-22 20:25:52 +0100 |
---|---|---|
committer | Siri Hansen <siri@erlang.org> | 2016-12-22 20:25:52 +0100 |
commit | 998c6756b73ec2c227ed6f7f2e66eb059d1027fc (patch) | |
tree | 84ad8f1a838c272ba99e87767912116d1ce00f1d | |
parent | 4e52ce58e505ba57f2188e34a002d70de1bd6ff5 (diff) |
Make sure ct_testspec is loaded
... before calling erlang:function_exported(ct_testspec,get_tests,1).
-rw-r--r-- | src/rebar_prv_common_test.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 4a9ba25..30596da 100644 --- a/src/rebar_prv_common_test.erl +++ b/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); |