summaryrefslogtreecommitdiff
path: root/src/rebar_ct.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-12-12 19:08:40 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-12-12 21:20:34 +0100
commit8c89a388bf39b34430dae76ca51ec9869e938f7f (patch)
treea970fde2840f85be0a9fe5a383d729315563582a /src/rebar_ct.erl
parenta5e39c2c545e2a9dd33dc08d5161234a681d7aa6 (diff)
Universally support apps=/skip_apps=
Diffstat (limited to 'src/rebar_ct.erl')
-rw-r--r--src/rebar_ct.erl15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl
index 0303787..54e97e9 100644
--- a/src/rebar_ct.erl
+++ b/src/rebar_ct.erl
@@ -46,20 +46,7 @@
%% ===================================================================
ct(Config, File) ->
- case rebar_config:get_global(app, undefined) of
- undefined ->
- %% No app parameter specified, run everything..
- run_test_if_present("test", Config, File);
- Apps ->
- TargetApps = [list_to_atom(A) || A <- string:tokens(Apps, ",")],
- ThisApp = rebar_app_utils:app_name(File),
- case lists:member(ThisApp, TargetApps) of
- true ->
- run_test_if_present("test", Config, File);
- false ->
- ?DEBUG("Skipping common_test on app: ~p\n", [ThisApp])
- end
- end.
+ run_test_if_present("test", Config, File).
%% ===================================================================
%% Internal functions