[koha-commits] main Koha release repository branch master updated. v3.20.00-1143-g946cbf7

Git repo owner gitmaster at git.koha-community.org
Fri Nov 6 16:25:27 CET 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  946cbf71a767c47d5cbed71f5ba1f4110476290a (commit)
      from  6c94dc79878c727b47f0617548613e1b7f5794a3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 946cbf71a767c47d5cbed71f5ba1f4110476290a
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Nov 6 10:29:21 2015 -0300

    Bug 15150: Make t/ tests skip if Test::DBIx::Class absent
    
    Tests in t/ should always pass for building the Debian packages
    for Koha. But we've started using Test::DBIx::Class for writing
    mocked tests, and that lib is not (yet) packaged fro Debian 7+.
    
    This means build is failing. Devs and jenkins use the lib from CPAN.
    
    This patch makes the tests skip if the lib is absent.
    
    To test:
    - Install Test::DBIx::Class
      $ sudo cpanm Test::DBIx::Class
    - Run the tests:
      $ prove t/
    => SUCCESS: Tests pass
    - Uninstall Test::DBIx::Class
      $ sudo cpan -U Test::DBIx::Class
    - Run the tests:
      $ prove t/
    => SUCCESS: Tests still pass (those needing the lib are skipped)
    - Sign off :-D
    
    Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
    Works as advertised. All test pass successful
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-----------------------------------------------------------------------

Summary of changes:
 t/Biblio.t                 |   12 ++++++++++--
 t/Calendar.t               |   40 ++++++++++++++++++++++++++++++++--------
 t/Images.t                 |   30 ++++++++++++++++++++++++++++--
 t/ItemType.t               |   30 +++++++++++++++++++++++++++++-
 t/Koha.t                   |   12 +++++++++++-
 t/Letters.t                |   13 +++++++++++--
 t/Matcher.t                |   33 ++++++++++++++++++++++++++++-----
 t/Members_AttributeTypes.t |   28 +++++++++++++++++++++++++---
 t/SocialData.t             |   30 ++++++++++++++++++++++++++++--
 9 files changed, 202 insertions(+), 26 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list