summaryrefslogtreecommitdiff
path: root/test/rebar_eunit_tests.erl
diff options
context:
space:
mode:
authorLuis Rascão <luis.rascao@gmail.com>2017-08-18 22:30:40 +0100
committerGitHub <noreply@github.com>2017-08-18 22:30:40 +0100
commit0dcac8a88e9f140c343c28e2d42cebcdfb78bd04 (patch)
tree92c89460416c472ef16a7a164fda79d8fa4a3a68 /test/rebar_eunit_tests.erl
parent2940f2711972b49f86ff39a98d37f461f2b70a54 (diff)
parentb55483c88960747d3951190c908ba9f7e8ee1134 (diff)
downloadrebar-0dcac8a88e9f140c343c28e2d42cebcdfb78bd04.tar.gz
Merge pull request #638 from tuncer/fix-otp-20-export_all
Fix Erlang 20 export_all warnings
Diffstat (limited to 'test/rebar_eunit_tests.erl')
-rw-r--r--test/rebar_eunit_tests.erl8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/rebar_eunit_tests.erl b/test/rebar_eunit_tests.erl
index d481dae..cf1e696 100644
--- a/test/rebar_eunit_tests.erl
+++ b/test/rebar_eunit_tests.erl
@@ -30,8 +30,6 @@
%% -------------------------------------------------------------------
-module(rebar_eunit_tests).
--compile(export_all).
-
-include_lib("eunit/include/eunit.hrl").
%% Assuming this test is run inside the rebar 'eunit'
@@ -412,7 +410,6 @@ code_path_test_() ->
-define(myapp_mymod_tests,
["-module(myapp_mymod_tests).\n",
- "-compile([export_all]).\n",
"-include_lib(\"eunit/include/eunit.hrl\").\n",
"myfunc_test() -> ?assertMatch(ok, myapp_mymod:myfunc()).\n"]).
@@ -426,7 +423,6 @@ code_path_test_() ->
-define(myapp_mymod2_tests,
["-module(myapp_mymod2_tests).\n",
- "-compile([export_all]).\n",
"-include_lib(\"eunit/include/eunit.hrl\").\n",
"myfunc2_test() -> ?assertMatch(ok, myapp_mymod2:myfunc2()).\n",
"common_name_test() -> ?assert(true).\n"]).
@@ -459,7 +455,6 @@ code_path_test_() ->
-define(myapp_mymod_defined_in_mysuite_tests,
["-module(myapp_mymod_defined_in_mysuite_tests).\n",
- "-compile([export_all]).\n",
"-include_lib(\"eunit/include/eunit.hrl\").\n",
"myfunc_test() -> ?assertMatch(ok, myapp_mymod:myfunc()).\n"]).
@@ -537,9 +532,6 @@ 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"),