diff options
author | varnerac-ubnt <drew.varner@ubnt.com> | 2014-06-27 12:26:25 -0500 |
---|---|---|
committer | varnerac-ubnt <drew.varner@ubnt.com> | 2014-06-27 15:35:56 -0500 |
commit | 35ee4571760ec7bd3bad9741d982699798bee1dc (patch) | |
tree | 71af55c8230fa770a400c6b18fbd67af74b9236c /inttest/ct1/ct1_rt.erl | |
parent | 6e24cd6ac7f8ba9b125c4898e29fa1e9a207f7d2 (diff) |
Fix bug 271
Moves ct_extra_params to the end of the generated ct_run command.
This allows users to pass commands to the underlying emulator
using -erl_args. The included rt test demonstrates that it is
possible to pass an addtional option to ct_run and -erl_args at
the same time. Finally, the test executes in regular and verbose
modes because rebar constructs the ct_run command differently in
verbose mode.
Diffstat (limited to 'inttest/ct1/ct1_rt.erl')
-rw-r--r-- | inttest/ct1/ct1_rt.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inttest/ct1/ct1_rt.erl b/inttest/ct1/ct1_rt.erl index f173d3f..f9de372 100644 --- a/inttest/ct1/ct1_rt.erl +++ b/inttest/ct1/ct1_rt.erl @@ -7,10 +7,12 @@ 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. |