~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Martin Pool
  • Date: 2009-12-22 05:41:32 UTC
  • mto: This revision was merged to the branch mainline in revision 4919.
  • Revision ID: mbp@sourcefrog.net-20091222054132-0z1sz4dix6479x20
Test progress bar now lumps together tests that error and those that fail

Show diffs side-by-side

added added

removed removed

Lines of Context:
467
467
            a += '%dm%ds' % (runtime / 60, runtime % 60)
468
468
        else:
469
469
            a += '%ds' % runtime
470
 
        if self.error_count:
471
 
            a += ', %d err' % self.error_count
472
 
        if self.failure_count:
473
 
            a += ', %d fail' % self.failure_count
 
470
        total_fail_count = self.error_count + self.failure_count
 
471
        if total_fail_count:
 
472
            a += ', %d failed' % total_fail_count
474
473
        # if self.unsupported:
475
474
        #     a += ', %d missing' % len(self.unsupported)
476
475
        a += ']'