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/tplugins/tplugins_rt.erl | |
parent | ac0d726bb8c21eca3b883f7c47e42cdea02b5a3f (diff) |
remove more code that can be brought back later if needed
Diffstat (limited to 'inttest/tplugins/tplugins_rt.erl')
-rw-r--r-- | inttest/tplugins/tplugins_rt.erl | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/inttest/tplugins/tplugins_rt.erl b/inttest/tplugins/tplugins_rt.erl deleted file mode 100644 index d6908ad..0000000 --- a/inttest/tplugins/tplugins_rt.erl +++ /dev/null @@ -1,40 +0,0 @@ --module(tplugins_rt). --compile(export_all). - --include_lib("eunit/include/eunit.hrl"). - --define(COMPILE_ERROR, - "ERROR: Plugin bad_plugin contains compilation errors:"). - -files() -> - [ - {copy, "../../rebar", "rebar"}, - {copy, "rebar.config", "rebar.config"}, - {copy, "bad.config", "bad.config"}, - {copy, "fish.erl", "src/fish.erl"}, - {copy, "test_plugin.erl", "plugins/test_plugin.erl"}, - {copy, "bad_plugin.erl", "bad_plugins/bad_plugin.erl"}, - {create, "fwibble.test", <<"fwibble">>}, - {create, "ebin/fish.app", app(fish, [fish])} - ]. - -run(_Dir) -> - ?assertMatch({ok, _}, retest_sh:run("./rebar fwibble -v", [])), - ?assertEqual(false, filelib:is_regular("fwibble.test")), - Ref = retest:sh("./rebar -C bad.config -v clean", [{async, true}]), - {ok, _} = retest:sh_expect(Ref, "ERROR: Plugin .*bad_plugin.erl " - "contains compilation errors:.*", - [{newline, any}]), - 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]). |