diff options
Diffstat (limited to 'inttest/code_path_no_recurse')
14 files changed, 0 insertions, 115 deletions
diff --git a/inttest/code_path_no_recurse/code_path_no_recurse_rt.erl b/inttest/code_path_no_recurse/code_path_no_recurse_rt.erl deleted file mode 100644 index d884bcc..0000000 --- a/inttest/code_path_no_recurse/code_path_no_recurse_rt.erl +++ /dev/null @@ -1,19 +0,0 @@ --module(code_path_no_recurse_rt). --export([files/0, - run/1]). - -files() -> - [ - {copy, "../../rebar", "rebar"}, - {copy, "rebar.config", "rebar.config"}, - {copy, "src", "src"}, - {copy, "test", "test"}, - {copy, "deps", "deps"} - ]. - -run(_Dir) -> - retest:log(info, "Compile project~n"), - {ok, _} = retest:sh("./rebar -v compile"), - retest:log(info, "Run eunit with referenced deps on the code path~n"), - {ok, _} = retest:sh("./rebar -v eunit"), - ok. diff --git a/inttest/code_path_no_recurse/deps/bazdep/src/bazdep.app.src b/inttest/code_path_no_recurse/deps/bazdep/src/bazdep.app.src deleted file mode 100644 index 7f7b3f9..0000000 --- a/inttest/code_path_no_recurse/deps/bazdep/src/bazdep.app.src +++ /dev/null @@ -1,12 +0,0 @@ -{application, bazdep, - [ - {description, ""}, - {vsn, "1"}, - {registered, []}, - {applications, [ - kernel, - stdlib - ]}, - {mod, {bazdep, []}}, - {env, []} - ]}. diff --git a/inttest/code_path_no_recurse/deps/bazdep/src/bazdep.erl b/inttest/code_path_no_recurse/deps/bazdep/src/bazdep.erl deleted file mode 100644 index aef4cf3..0000000 --- a/inttest/code_path_no_recurse/deps/bazdep/src/bazdep.erl +++ /dev/null @@ -1,6 +0,0 @@ --module(bazdep). - --export([bazdep/0]). - -bazdep() -> - bazdep. diff --git a/inttest/code_path_no_recurse/deps/bazdep/test/bazdep_tests.erl b/inttest/code_path_no_recurse/deps/bazdep/test/bazdep_tests.erl deleted file mode 100644 index b5190f6..0000000 --- a/inttest/code_path_no_recurse/deps/bazdep/test/bazdep_tests.erl +++ /dev/null @@ -1,5 +0,0 @@ --module(bazdep_tests). --include_lib("eunit/include/eunit.hrl"). - -bazdep_test() -> - ?assert(bazdep:bazdep() =:= bazdep). diff --git a/inttest/code_path_no_recurse/deps/foodep/rebar.config b/inttest/code_path_no_recurse/deps/foodep/rebar.config deleted file mode 100644 index cdaf168..0000000 --- a/inttest/code_path_no_recurse/deps/foodep/rebar.config +++ /dev/null @@ -1 +0,0 @@ -{deps, [{bazdep, "1"}]}. diff --git a/inttest/code_path_no_recurse/deps/foodep/src/foodep.app.src b/inttest/code_path_no_recurse/deps/foodep/src/foodep.app.src deleted file mode 100644 index c0642fb..0000000 --- a/inttest/code_path_no_recurse/deps/foodep/src/foodep.app.src +++ /dev/null @@ -1,12 +0,0 @@ -{application, foodep, - [ - {description, ""}, - {vsn, "1"}, - {registered, []}, - {applications, [ - kernel, - stdlib - ]}, - {mod, {foodep, []}}, - {env, []} - ]}. diff --git a/inttest/code_path_no_recurse/deps/foodep/src/foodep.erl b/inttest/code_path_no_recurse/deps/foodep/src/foodep.erl deleted file mode 100644 index 3d43d0e..0000000 --- a/inttest/code_path_no_recurse/deps/foodep/src/foodep.erl +++ /dev/null @@ -1,6 +0,0 @@ --module(foodep). - --export([foodep/0]). - -foodep() -> - bazdep:bazdep() =:= bazdep. diff --git a/inttest/code_path_no_recurse/deps/foodep/test/foodep_tests.erl b/inttest/code_path_no_recurse/deps/foodep/test/foodep_tests.erl deleted file mode 100644 index 66d7b8b..0000000 --- a/inttest/code_path_no_recurse/deps/foodep/test/foodep_tests.erl +++ /dev/null @@ -1,5 +0,0 @@ --module(foodep_tests). --include_lib("eunit/include/eunit.hrl"). - -foodep_test() -> - ?assert(foodep:foodep()). diff --git a/inttest/code_path_no_recurse/deps/unuseddep/src/unuseddep.app.src b/inttest/code_path_no_recurse/deps/unuseddep/src/unuseddep.app.src deleted file mode 100644 index d0bc233..0000000 --- a/inttest/code_path_no_recurse/deps/unuseddep/src/unuseddep.app.src +++ /dev/null @@ -1,12 +0,0 @@ -{application, unuseddep, - [ - {description, ""}, - {vsn, "1"}, - {registered, []}, - {applications, [ - kernel, - stdlib - ]}, - {mod, {unuseddep, []}}, - {env, []} - ]}. diff --git a/inttest/code_path_no_recurse/deps/unuseddep/src/unuseddep.erl b/inttest/code_path_no_recurse/deps/unuseddep/src/unuseddep.erl deleted file mode 100644 index a990345..0000000 --- a/inttest/code_path_no_recurse/deps/unuseddep/src/unuseddep.erl +++ /dev/null @@ -1,6 +0,0 @@ --module(unuseddep). - --export([unuseddep/0]). - -unuseddep() -> - unuseddep. diff --git a/inttest/code_path_no_recurse/rebar.config b/inttest/code_path_no_recurse/rebar.config deleted file mode 100644 index 4b358de..0000000 --- a/inttest/code_path_no_recurse/rebar.config +++ /dev/null @@ -1 +0,0 @@ -{deps, [{foodep, "1"}]}. diff --git a/inttest/code_path_no_recurse/src/codepath.app.src b/inttest/code_path_no_recurse/src/codepath.app.src deleted file mode 100644 index 3aa200f..0000000 --- a/inttest/code_path_no_recurse/src/codepath.app.src +++ /dev/null @@ -1,12 +0,0 @@ -{application, codepath, - [ - {description, ""}, - {vsn, "1"}, - {registered, []}, - {applications, [ - kernel, - stdlib - ]}, - {mod, {codepath, []}}, - {env, []} - ]}. diff --git a/inttest/code_path_no_recurse/src/codepath.erl b/inttest/code_path_no_recurse/src/codepath.erl deleted file mode 100644 index df4e6b0..0000000 --- a/inttest/code_path_no_recurse/src/codepath.erl +++ /dev/null @@ -1,6 +0,0 @@ --module(codepath). - --export([codepath/0]). - -codepath() -> - foodep:foodep(). diff --git a/inttest/code_path_no_recurse/test/codepath_tests.erl b/inttest/code_path_no_recurse/test/codepath_tests.erl deleted file mode 100644 index 01a1d2a..0000000 --- a/inttest/code_path_no_recurse/test/codepath_tests.erl +++ /dev/null @@ -1,12 +0,0 @@ --module(codepath_tests). --include_lib("eunit/include/eunit.hrl"). - -codepath_test() -> - ?assertEqual({module, codepath}, code:ensure_loaded(codepath)), - ?assertEqual({module, foodep}, code:ensure_loaded(foodep)), - ?assertEqual({module, bazdep}, code:ensure_loaded(bazdep)), - ?assert(codepath:codepath()). - -unuseddep_test() -> - ?assertEqual(non_existing, code:which(unuseddep)), - ?assertEqual({error, nofile}, code:ensure_loaded(unuseddep)). |