25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Check if error.log is empty after running test suite

This commit is contained in:
Evgeny Khramtsov 2019-11-08 09:35:12 +03:00
parent 3826a9ed58
commit f6d7af1a2b

View File

@ -55,6 +55,7 @@ script:
- echo '{ct_extra_params, "-verbosity 20"}.' >> rebar.config
- escript ./rebar skip_deps=true ct -v
- grep -q 'TEST COMPLETE,.* 0 failed' logs/raw.log
- test $(find logs -empty -name error.log)
after_script:
- find logs -name suite.log -exec cat '{}' ';'