<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">rebar3 doesn’t currently support the setting on test configuration via `ct_opts` like that. changing your `ct_opts` section to: `[{dir, “test”}, {logdir, “logs”}]` should work </div><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 24, 2016, at 2:34 AM, Alexander Petrovsky <<a href="mailto:askjuise@gmail.com" class="">askjuise@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi!<div class=""><br class=""></div><div class="">I have the follow ct section in rebar.config:</div><div class=""><br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">{ct_opts, [{alias, myapp, "./test/"}, {logdir, "./logs/"}, {suites, myapp, all}]}.<br class="">{ct_compile_opts, [{i, "./include/"}]}.</blockquote><div class=""><br class=""></div><div class="">On the "rebar 3.0.0-beta.3+build.327.ref97ae8d6 on Erlang/OTP 18 Erts 7.0" it's work perfectly, but on the "rebar 3.0.0+build.273.refd2de55d on Erlang/OTP 18 Erts 7.0" it says:</div><div class=""><br class=""></div><div class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">===> sh(cp -Rp /Users/juise/Documents/myapp/test/myapp_shaper_SUITE.beam /Users/juise/Documents/myapp/test/myapp_shaper_SUITE.erl /Users/juise/Documents/myapp/test/TEST-file_"myapp.app".xml "/Users/juise/Documents/myapp/_build/test/lib/myapp/test")<br class="">failed with return code 1 and the following output:<br class="">cp: /Users/juise/Documents/myapp/test/TEST-file_myapp.app.xml: No such file or directory</blockquote></div><div class=""><br class=""></div><div class="">and after "rm -rf ./test/TEST*.xml" it says:</div><div class=""><br class=""></div><div class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">./rebar3 ct skip_deps=true verbose=3<br class="">===> Verifying dependencies...<br class="">===> Member `{alias,myapp,"./test/"}' of option `ct_opts' must be a 2-tuple<br class="">make: *** [test] Error 1</blockquote></div><div class=""><br class=""></div><div class="">How can I fix it?</div><div class=""><br class="">-- <br class=""><div class="gmail_signature"><div dir="ltr" class="">Петровский Александр / Alexander Petrovsky,<br class=""><br class="">Skype: askjuise<br class=""><div class="">Phone: +7 914 8 820 815<div class=""><br class=""></div></div></div></div>
</div></div>
_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" class="">erlang-questions@erlang.org</a><br class="">http://erlang.org/mailman/listinfo/erlang-questions<br class=""></div></blockquote></div><br class=""></body></html>