diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-08-30 22:14:48 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-08-30 22:16:30 -0500 |
commit | 21f47438614a0d50caf20801c4440d54d12c3f20 (patch) | |
tree | 054cda8b6a40d577b77d950bce898755f81962b7 /inttest/ct1 | |
parent | ac0d726bb8c21eca3b883f7c47e42cdea02b5a3f (diff) |
remove more code that can be brought back later if needed
Diffstat (limited to 'inttest/ct1')
-rw-r--r-- | inttest/ct1/app.config | 2 | ||||
-rw-r--r-- | inttest/ct1/ct1_rt.erl | 30 | ||||
-rw-r--r-- | inttest/ct1/rebar.config | 2 | ||||
-rw-r--r-- | inttest/ct1/test_SUITE.erl | 17 |
4 files changed, 0 insertions, 51 deletions
diff --git a/inttest/ct1/app.config b/inttest/ct1/app.config deleted file mode 100644 index bb718b2..0000000 --- a/inttest/ct1/app.config +++ /dev/null @@ -1,2 +0,0 @@ -%% This file is an application config file, not a CT test config file -[{a1, [{foo, bar}]}]. diff --git a/inttest/ct1/ct1_rt.erl b/inttest/ct1/ct1_rt.erl deleted file mode 100644 index f9de372..0000000 --- a/inttest/ct1/ct1_rt.erl +++ /dev/null @@ -1,30 +0,0 @@ --module(ct1_rt). - --compile(export_all). - - -files() -> - [{create, "ebin/a1.app", app(a1)}, - {copy, "../../rebar", "rebar"}, - {copy, "rebar.config", "rebar.config"}, - {copy, "app.config", "app.config"}, - {copy, "test_SUITE.erl", "itest/test_SUITE.erl"}]. - -run(_Dir) -> - {ok, _} = retest:sh("./rebar compile ct"), - {ok, _} = retest:sh("./rebar compile ct -v"), - ok. - - - -%% -%% Generate the contents of a simple .app file -%% -app(Name) -> - App = {application, Name, - [{description, atom_to_list(Name)}, - {vsn, "1"}, - {modules, []}, - {registered, []}, - {applications, [kernel, stdlib]}]}, - io_lib:format("~p.\n", [App]). diff --git a/inttest/ct1/rebar.config b/inttest/ct1/rebar.config deleted file mode 100644 index 58047ba..0000000 --- a/inttest/ct1/rebar.config +++ /dev/null @@ -1,2 +0,0 @@ -{ct_dir, "itest"}. -{ct_extra_params, "-repeat 2 -erl_args -config app"}. diff --git a/inttest/ct1/test_SUITE.erl b/inttest/ct1/test_SUITE.erl deleted file mode 100644 index e8a2bb8..0000000 --- a/inttest/ct1/test_SUITE.erl +++ /dev/null @@ -1,17 +0,0 @@ --module(test_SUITE). - --compile(export_all). - --include_lib("ct.hrl"). - -all() -> - [simple_test, - app_config_file_test]. - -simple_test(Config) -> - io:format("Test: ~p\n", [Config]). - -app_config_file_test(_Config) -> - application:start(a1), - {ok, bar} = application:get_env(a1, foo), - application:stop(a1). |