~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

Tweaks and comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
3293
3293
                os.waitpid(self.pid, 0)
3294
3294
 
3295
3295
    test_blocks = partition_tests(suite, concurrency)
 
3296
    # Clear the tests from the original suite so it doesn't keep them alive
3296
3297
    suite._tests[:] = []
3297
3298
    for process_tests in test_blocks:
3298
3299
        process_suite = TestUtil.TestSuite(process_tests)
 
3300
        # Also clear each split list so new suite has only reference
3299
3301
        process_tests[:] = []
3300
3302
        c2pread, c2pwrite = os.pipe()
3301
3303
        pid = os.fork()