mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-09 12:50:13 +00:00
Only fail on real fails
This commit is contained in:
parent
74b741bad2
commit
9236b68779
@ -78,7 +78,7 @@ after_script:
|
||||
- "[ ${BUILD_CATEGORY:-sim} = sim ] && tail regression-tests/??-$BUILD_TYPE/*.testlog"
|
||||
## Print a basic summary
|
||||
- "echo 'Summary:'; cat regression-tests/??-$BUILD_TYPE/summary"
|
||||
- "FAILS=`grep -c -i 'fail' regression-tests/??-$BUILD_TYPE/summary`"
|
||||
- "FAILS=`grep -c ' FAIL ' regression-tests/??-$BUILD_TYPE/summary`"
|
||||
## This will detect whether the build should pass or fail
|
||||
- "test $FAILS -eq 0; exit $?"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user