Skip to content
  • Dylan Baker's avatar
    framework: ensure that all tests are run before exiting · bde5cb43
    Dylan Baker authored
    
    
    This is a bug that has existed for a long time, and I'm not really sure
    how we haven't hit this before honestly, I think that the reason this
    has worked is that we've always provided a concrete type to to
    pool.imap.
    
    The problem is that pool.imap is an iterator. If you don't walk the
    results then the program might exit before finishing. This seems to be
    especially true when running without -c or -1. Instead we'll write the
    loop, using pool.apply_async does basically the same thing (without the
    ability to use chunks), but with out exiting early.
    
    Tested-by: default avatarMichel Dänzer <michel.daenzer@amd.com>
    bde5cb43