Bug 18979: Speed up 'valid-templates.t' tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 19 Jul 2017 23:29:26 +0000 (20:29 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Apr 2018 21:07:45 +0000 (18:07 -0300)
commitd55a7eb316e699c32178cbde9d60b6005c4d3e98
tree1e2f199527f7dbc57e3e31c5299b3431a8e094b1
parenta251be4b80bda3392cde16826cc6c52ff421174e
Bug 18979: Speed up 'valid-templates.t' tests

Test plan:
Confirm than prove xt/author/valid-templates.t is quicker with this
patch.

Before I got:
Files=1, Tests=840, 21 wallclock secs ( 0.18 usr  0.02 sys + 20.28 cusr
0.32 csys = 20.80 CPU)

After:
Files=1, Tests=840, 17 wallclock secs ( 0.06 usr  0.01 sys + 21.56 cusr
0.48 csys = 22.11 CPU)

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
xt/author/valid-templates.t