[erlang-questions] rebar, ct and travis-ci

Tuncer Ayaz tuncer.ayaz@REDACTED
Fri Jul 19 18:23:31 CEST 2013


On Tue, Jul 16, 2013 at 10:39 AM, Pablo Vieytes <pablo.vb80@REDACTED> wrote:
> Hi,
> I'm using common tests, rebar and travis-ci. It works fine but when some
> test falis in travis I can't see the log files.
>
> My Makefile
>
> all:
> ./rebar get-deps
> ./rebar compile
> bin/bootstrap
>
> clean:
> ./rebar clean
>
> test: all
> ./rebar ct skip_deps=true
>
> doc: all
> bin/create_edoc.sh
>
>
>
> Any suggestion?

Hi Pablo,

have you tried to extract the info from ct's logs?

$ rebar help ct
=== rebar_ct:ct ===
Run common_test suites.

Valid rebar.config options:
  {ct_dir,"itest"}
  {ct_log_dir,"test/logs"}
  {ct_extra_params,"-boot start_sasl -s myapp"}
  {ct_use_short_names,true}
Valid command line options:
  suites=foo,bar - run <test>/foo_SUITE and <test>/bar_SUITE
  case="mycase" - run individual test case foo_SUITE:mycase



More information about the erlang-questions mailing list