mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Check if error.log is empty after running test suite
This commit is contained in:
parent
3826a9ed58
commit
f6d7af1a2b
@ -55,6 +55,7 @@ script:
|
|||||||
- echo '{ct_extra_params, "-verbosity 20"}.' >> rebar.config
|
- echo '{ct_extra_params, "-verbosity 20"}.' >> rebar.config
|
||||||
- escript ./rebar skip_deps=true ct -v
|
- escript ./rebar skip_deps=true ct -v
|
||||||
- grep -q 'TEST COMPLETE,.* 0 failed' logs/raw.log
|
- grep -q 'TEST COMPLETE,.* 0 failed' logs/raw.log
|
||||||
|
- test $(find logs -empty -name error.log)
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- find logs -name suite.log -exec cat '{}' ';'
|
- find logs -name suite.log -exec cat '{}' ';'
|
||||||
|
Loading…
Reference in New Issue
Block a user