~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/TestUtil.py

After adding a pseudo-failure update the stored test count again

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
                if stored_count == new_stored_count and notify:
116
116
                    # Testcase didn't fail, but somehow is still alive
117
117
                    FailedCollectionCase(case).run(result)
 
118
                    # Adding a new failure so need to reupdate the count
 
119
                    new_stored_count = count_stored_tests()
118
120
                # GZ 2011-09-16: Previously zombied the case at this point by
119
121
                #                clearing the dict as fallback, skip for now.
120
122
            stored_count = new_stored_count