Check if error.log is empty after running test suite

pull/3083/head
Evgeny Khramtsov 4 years ago
parent 3826a9ed58
commit f6d7af1a2b

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

Loading…
Cancel
Save