[erlang-questions] rebar3 and ct

Alexander Petrovsky <>
Thu Mar 24 10:34:58 CET 2016


Hi!

I have the follow ct section in rebar.config:

{ct_opts, [{alias, myapp, "./test/"}, {logdir, "./logs/"}, {suites, myapp,
> all}]}.
> {ct_compile_opts, [{i, "./include/"}]}.


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:

===> 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")
> failed with return code 1 and the following output:
> cp: /Users/juise/Documents/myapp/test/TEST-file_myapp.app.xml: No such
> file or directory


and after "rm -rf ./test/TEST*.xml" it says:

./rebar3 ct skip_deps=true verbose=3
> ===> Verifying dependencies...
> ===> Member `{alias,myapp,"./test/"}' of option `ct_opts' must be a 2-tuple
> make: *** [test] Error 1


How can I fix it?

-- 
Петровский Александр / Alexander Petrovsky,

Skype: askjuise
Phone: +7 914 8 820 815
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160324/d8a51606/attachment.html>


More information about the erlang-questions mailing list