'Run callback with all test dumps intercepting incidental crashes.'

def test_all_dumps(self):

    if (self._callback_class is None):
        return
    for dump_name in glob.glob(os.path.join(os.path.dirname(__file__), TEST_DUMPS_DIR, '*.rdb')):
        callback = self._callback_class(out=self._out)
        parser = RdbParser(callback)
        try:
            parser.parse(dump_name)
        except Exception as err:
            raise self.failureException(('%s    on    %s    -    %s:    %s' % (self._callback_class.__name__, os.path.basename(dump_name), type(err).__name__, str(err))))
        self._out.seek(0)
        self._out.truncate()
