[Koha-bugs] [Bug 18055] Speed up '00-strict.t' test
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 20 21:23:48 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18055
--- Comment #29 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Something is wrong for me:
Inside the a kohadevbox, I have only 1 CPU, so no speed up noticed.
>From the host, 4 CPUs (I launched the tests 00-strict.t with only the admin and
acqui dirs):
time perl t/db_dependent/00-strict.t
Using 4 CPUs...
ok 1 - Syntax check admin/systempreferences.pl
ok 1 - Syntax check acqui/z3950_search.pl
ok 2 - Syntax check admin/cities.pl
ok 2 - Syntax check acqui/neworderbiblio.pl
ok 3 - Syntax check admin/edi_accounts.pl
ok 3 - Syntax check acqui/edi_ean.pl
[SKIP]
ok 48 - Syntax check admin/auth_subfields_structure.pl
ok 49 - Syntax check admin/currency.pl
ok 50 - Syntax check admin/searchengine/elasticsearch/mappings.pl
1..0
# No tests run!
real 1m0.178s
user 1m44.540s
sys 0m6.592s
=> This is ok
But, with prove:
$ prove t/db_dependent/00-strict.t
t/db_dependent/00-strict.t .. 50/? # No tests run!
t/db_dependent/00-strict.t .. skipped: (no reason given)
Test Summary Report
-------------------
t/db_dependent/00-strict.t (Wstat: 65280 Tests: 92 Failed: 0)
Non-zero exit status: 255
Parse errors: Tests out of sequence. Found (1) but expected (2)
Tests out of sequence. Found (2) but expected (3)
Tests out of sequence. Found (2) but expected (4)
Tests out of sequence. Found (3) but expected (5)
Tests out of sequence. Found (3) but expected (6)
Displayed the first 5 of 92 TAP syntax errors.
Re-run prove with the -p option to see them all.
Files=1, Tests=92, 63 wallclock secs ( 0.04 usr 0.02 sys + 110.22 cusr 6.87
csys = 117.15 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list