mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Print something when doing tests in travis, as not doing that get us killed
This commit is contained in:
parent
b86402f3e7
commit
2a77805072
@ -45,7 +45,9 @@ script:
|
||||
- make xref
|
||||
- sed -i -e 's/ct:pal/ct:log/' test/suite.erl
|
||||
- ln -sf ../sql priv/
|
||||
- escript ./rebar skip_deps=true ct
|
||||
- echo "" >> rebar.config
|
||||
- echo "{ct_extra_params, "-verbosity 20"}." >> rebar.config
|
||||
- escript ./rebar skip_deps=true ct -v
|
||||
- grep -q 'TEST COMPLETE, \([[:digit:]]*\) ok, .* of \1 ' logs/raw.log
|
||||
|
||||
after_script:
|
||||
@ -53,8 +55,8 @@ after_script:
|
||||
|
||||
after_failure:
|
||||
- find logs -name exunit.log -exec cat '{}' ';'
|
||||
# Try checking Riak database logs
|
||||
- find logs -name ejabberd.log -exec cat '{}' ';'
|
||||
- find logs -name suite.log -exec cat '{}' ';'
|
||||
|
||||
after_success:
|
||||
- coveralls-merge erlang.json
|
||||
|
@ -210,6 +210,7 @@ init_per_testcase(stop_ejabberd, Config) ->
|
||||
set_opt(anonymous, true, Config)),
|
||||
open_session(bind(auth(connect(NewConfig))));
|
||||
init_per_testcase(TestCase, OrigConfig) ->
|
||||
ct:print(80, "Testcase '~p' starting", [TestCase]),
|
||||
Test = atom_to_list(TestCase),
|
||||
IsMaster = lists:suffix("_master", Test),
|
||||
IsSlave = lists:suffix("_slave", Test),
|
||||
|
Loading…
Reference in New Issue
Block a user