[Koha-bugs] [Bug 18979] Speed up 'valid-templates.t' tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 15 09:03:34 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18979

--- Comment #11 from Mason James <mtj at kohaaloha.com> ---
Created attachment 69150
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69150&action=edit
Bug 18979: Swap threads for Test2::Suite

this patch swaps threads for the Test2::Suite module

to test...

1/ apply patch

2/ install Test2::Suite
    $ sudo apt-get install libtest2-suite-perl , or...

    $ cpanm Test2::Suite

3/ run test

    $ sudo koha-shell -c  " export PERL5LIB=/home/mason/git/koha/master;  
prove -v xt/author/valid-templates.t" kmaster
    ok 1 - Testing opac bootstrap templates {
        ...
    }
    ok 2 - Testing staff prog templates {
        ...
    }
    1..2
    ok
    All tests successful.
    Result: PASS

4. note test passes
    Result: PASS

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list