summaryrefslogtreecommitdiff
path: root/src/rebar_ct.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_ct.erl')
-rw-r--r--src/rebar_ct.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl
index 54e97e9..70524af 100644
--- a/src/rebar_ct.erl
+++ b/src/rebar_ct.erl
@@ -46,7 +46,8 @@
%% ===================================================================
ct(Config, File) ->
- run_test_if_present("test", Config, File).
+ TestDir = rebar_config:get_local(Config, ct_dir, "test"),
+ run_test_if_present(TestDir, Config, File).
%% ===================================================================
%% Internal functions