<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>what os are you using? osx? this looks like a bug handling files with quotes in the name, i will investigate and open an issue<br><br>Sent from my iPad</div><div><br>On Mar 28, 2016, at 2:15 AM, Alexander Petrovsky <<a href="mailto:askjuise@gmail.com">askjuise@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Unfortunately it's doesn't work:<div><br></div><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>+{ct_opts, [{dir, "./test"}]}.</blockquote></div><div><br></div><div>I have the same problem:</div><div><br></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"><span style="font-size:12.8px">===> sh(cp -Rp /Users/juise/Documents/myapp/</span><span style="font-size:12.8px">test/myapp_shaper_SUITE.beam /Users/juise/Documents/myapp/</span><span style="font-size:12.8px">test/myapp_shaper_SUITE.erl /Users/juise/Documents/myapp/</span><span style="font-size:12.8px">test/TEST-file_"myapp.app".xml "/Users/juise/Documents/myapp/</span><span style="font-size:12.8px">_build/test/lib/myapp/test")<br></span><span style="font-size:12.8px">failed with return code 1 and the following output:<br></span><span style="font-size:12.8px">cp: /Users/juise/Documents/myapp/</span><span style="font-size:12.8px">test/TEST-file_myapp.app.xml: No such file or directory</span></blockquote><div><br></div><div><br></div><div>and looks like it becasu the file <span style="font-size:12.8px">TEST-file_myapp.app.xml have name </span><span style="font-size:12.8px">TEST-file_"myapp.app".xml</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-24 17:37 GMT+03:00 alisdair sullivan <span dir="ltr"><<a href="mailto:alisdairsullivan@yahoo.ca" target="_blank">alisdairsullivan@yahoo.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>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><div><blockquote type="cite"><div><div class="h5"><div>On Mar 24, 2016, at 2:34 AM, Alexander Petrovsky <<a href="mailto:askjuise@gmail.com" target="_blank">askjuise@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">Hi!<div><br></div><div>I have the follow ct section in rebar.config:</div><div><br></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>{ct_compile_opts, [{i, "./include/"}]}.</blockquote><div><br></div><div>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><br></div><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">===> 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>failed with return code 1 and the following output:<br>cp: /Users/juise/Documents/myapp/test/TEST-file_myapp.app.xml: No such file or directory</blockquote></div><div><br></div><div>and after "rm -rf ./test/TEST*.xml" it says:</div><div><br></div><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">./rebar3 ct skip_deps=true verbose=3<br>===> Verifying dependencies...<br>===> Member `{alias,myapp,"./test/"}' of option `ct_opts' must be a 2-tuple<br>make: *** [test] Error 1</blockquote></div><div><br></div><div>How can I fix it?</div><div><br>-- <br><div><div dir="ltr">Петровский Александр / Alexander Petrovsky,<br><br>Skype: askjuise<br><div>Phone: +7 914 8 820 815<div><br></div></div></div></div>
</div></div></div></div>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div></blockquote></div><br></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Петровский Александр / Alexander Petrovsky,<br><br>Skype: askjuise<br><div>Phone: +7 914 8 820 815<div><br></div></div></div></div>
</div>
</div></blockquote></body></html>