summaryrefslogtreecommitdiff
path: root/test/rebar_compiler_tests.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/rebar_compiler_tests.erl')
-rw-r--r--test/rebar_compiler_tests.erl10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/rebar_compiler_tests.erl b/test/rebar_compiler_tests.erl
index 104a7d8..2afbc92 100644
--- a/test/rebar_compiler_tests.erl
+++ b/test/rebar_compiler_tests.erl
@@ -30,8 +30,6 @@
%% -------------------------------------------------------------------
-module(rebar_compiler_tests).
--compile(export_all).
-
-include_lib("eunit/include/eunit.hrl").
%% Assuming this test is run inside the rebar 'eunit'
@@ -167,19 +165,11 @@ prepare_rebar_script() ->
?TMP_DIR ++ "rebar.cmd")
end.
-rebar() ->
- rebar([]).
-
rebar(Args) when is_list(Args) ->
Out = os:cmd(filename:nativename("./rebar") ++ " " ++ Args),
%% ?debugMsg("**** Begin"), ?debugMsg(Out), ?debugMsg("**** End"),
Out.
-assert_dirs_in(Name, [Dir|T]) ->
- [{Name ++ " has directory: " ++ Dir, ?_assert(filelib:is_dir(Dir))} |
- assert_dirs_in(Name, T)];
-assert_dirs_in(_, []) -> [].
-
assert_files_in(Name, [File|T]) ->
[{Name ++ " has file: " ++ File, ?_assert(filelib:is_regular(File))} |
assert_files_in(Name, T)];