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
1 changed files with 1 additions and 0 deletions

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 '{}' ';'