~faenil/ubuntu-ui-toolkit/UbuntuTestCase_flick_flakiness_fix

« back to all changes in this revision

Viewing changes to tests/checkresults.sh

  • Committer: Andrea Bernabei
  • Date: 2016-02-09 21:30:24 UTC
  • mfrom: (1795.2.47 staging)
  • Revision ID: andrea.bernabei@canonical.com-20160209213024-txzjng3d5bewlu1l
merge staging

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
                '
50
50
 
51
51
    WARNINGS=$(grep -c -e 'qwarn' $_XML)
52
 
    ERRORS=$(grep -c -e 'result="fail"' $_XML)
 
52
    ERRORS=$(grep -c -e '<failure' $_XML)
53
53
    if [ $ERRORS -ne 0 ]; then
54
54
      echo "Error: $ERRORS errors in $_TESTNAME ($WARNINGS warnings)"
55
55
      ((FAILURES+=$ERRORS))