|
|
@ -29,7 +29,7 @@ end_per_testcase(_Name, Config) -> |
|
|
|
Config. |
|
|
|
|
|
|
|
all() -> |
|
|
|
[noop, resource_plugins, alias_clash]. |
|
|
|
[noop, resource_plugins, alias_clash, grisp_explode]. |
|
|
|
|
|
|
|
%groups() -> |
|
|
|
% [{plugins, [shuffle], []}, |
|
|
@ -68,6 +68,17 @@ alias_clash(Config) -> |
|
|
|
"because it already exists from module rebar_prv_alias_test")), |
|
|
|
ok. |
|
|
|
|
|
|
|
grisp_explode() -> |
|
|
|
[{doc, "Don't force purge a plugin that runs the compile job itself"}]. |
|
|
|
grisp_explode(Config) -> |
|
|
|
%% When the purge handling is wrong, the run fails violently. |
|
|
|
{error, {_,Output}} = rebar3("grisp deploy -n robot -v 0.1.0", Config), |
|
|
|
ct:pal("Rebar3 Output:~n~s",[Output]), |
|
|
|
?assertNotEqual(nomatch, |
|
|
|
re:run(Output, "No releases exist in the system for robot:0.1.0!") |
|
|
|
), |
|
|
|
ok. |
|
|
|
|
|
|
|
%%%%%%%%%%%%%%% |
|
|
|
%%% Helpers %%% |
|
|
|
%%%%%%%%%%%%%%% |
|
|
|