summaryrefslogtreecommitdiff
path: root/inttest/t_custom_config
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-08-30 22:14:48 -0500
committerTristan Sloughter <t@crashfast.com>2014-08-30 22:16:30 -0500
commit21f47438614a0d50caf20801c4440d54d12c3f20 (patch)
tree054cda8b6a40d577b77d950bce898755f81962b7 /inttest/t_custom_config
parentac0d726bb8c21eca3b883f7c47e42cdea02b5a3f (diff)
remove more code that can be brought back later if needed
Diffstat (limited to 'inttest/t_custom_config')
-rw-r--r--inttest/t_custom_config/custom.config4
-rw-r--r--inttest/t_custom_config/custom_config.erl6
-rw-r--r--inttest/t_custom_config/t_custom_config_rt.erl39
3 files changed, 0 insertions, 49 deletions
diff --git a/inttest/t_custom_config/custom.config b/inttest/t_custom_config/custom.config
deleted file mode 100644
index 711c27f..0000000
--- a/inttest/t_custom_config/custom.config
+++ /dev/null
@@ -1,4 +0,0 @@
-{deps, [
- {boo, "."}
-]}.
-{erl_opts, [warnings_as_errors]}.
diff --git a/inttest/t_custom_config/custom_config.erl b/inttest/t_custom_config/custom_config.erl
deleted file mode 100644
index 8656201..0000000
--- a/inttest/t_custom_config/custom_config.erl
+++ /dev/null
@@ -1,6 +0,0 @@
--module(custom_config).
-
--compile(export_all).
-
-test() ->
- ok.
diff --git a/inttest/t_custom_config/t_custom_config_rt.erl b/inttest/t_custom_config/t_custom_config_rt.erl
deleted file mode 100644
index b56eb1a..0000000
--- a/inttest/t_custom_config/t_custom_config_rt.erl
+++ /dev/null
@@ -1,39 +0,0 @@
--module(t_custom_config_rt).
-
--compile(export_all).
-
--include_lib("eunit/include/eunit.hrl").
-
-files() ->
- [{copy, "../../rebar", "rebar"},
- {copy, "custom.config", "custom.config"},
- {create, "ebin/custom_config.app", app(custom_config, [custom_config])}].
-
-run(Dir) ->
- retest_log:log(debug, "Running in Dir: ~s~n", [Dir]),
- Ref = retest:sh("./rebar -C custom.config check-deps -vv",
- [{async, true}]),
- {ok, Captured} =
- retest:sh_expect(Ref,
- "DEBUG: Consult config file .*/custom.config.*",
- [{capture, all, list}]),
- {ok, Missing} =
- retest:sh_expect(Ref,
- "DEBUG: Missing deps : \\[\\{dep,bad_name,"
- "boo,\"\\.\",undefined,false\\}\\]",
- [{capture, all, list}]),
- retest_log:log(debug, "[CAPTURED]: ~s~n", [Captured]),
- retest_log:log(debug, "[Missing]: ~s~n", [Missing]),
- ok.
-
-%%
-%% Generate the contents of a simple .app file
-%%
-app(Name, Modules) ->
- App = {application, Name,
- [{description, atom_to_list(Name)},
- {vsn, "1"},
- {modules, Modules},
- {registered, []},
- {applications, [kernel, stdlib]}]},
- io_lib:format("~p.\n", [App]).