http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11401

--- Comment #31 from Tomás Cohen Arazi <[email protected]> ---
Created attachment 33582
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33582&action=edit
Bug 11401: (followup) make tests run on absent deps

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: Tomas Cohen Arazi <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to