Skip to content
  • Tomas Cohen Arazi's avatar
    Bug 11401: (followup) make tests run on absent deps · 348bca3d
    Tomas Cohen Arazi authored
    
    
    The current code breaks if a dependency is missing. The evals are
    rearranged so there's no error on missing dependency.
    
    To reproduce:
    - Have a dependency for t/NorwegianPatronDB.t removed
    - Run
      $ prove t/NorwegianPatronDB.t
    => FAIL: You see an error similar to this (may vary depending on the lib you removed):
    
    t/NorwegianPatronDB.t .. You tried to plan twice at t/NorwegianPatronDB.t line 37.
    
    - Apply the patch
    - Run
      $ prove t/NorwegianPatronDB.t
    => SUCCESS: Tests are skipped on missing lib
    
    Signed-off-by: default avatarTomas Cohen Arazi <tomascohen@gmail.com>
    348bca3d