summaryrefslogtreecommitdiff
path: root/inttest/ct1
diff options
context:
space:
mode:
Diffstat (limited to 'inttest/ct1')
-rw-r--r--inttest/ct1/app.config2
-rw-r--r--inttest/ct1/ct1_rt.erl30
-rw-r--r--inttest/ct1/rebar.config2
-rw-r--r--inttest/ct1/test_SUITE.erl17
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).