[Koha-bugs] [Bug 7661] Moving C4::tests to unit tests
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 13 18:13:33 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7661
Paul Poulain <paul.poulain at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Passed QA |Pushed to Master
Version|master |rel_3_6
--- Comment #8 from Paul Poulain <paul.poulain at biblibre.com> ---
trying to prove t/db_dependent/Record/Record.t after applying the patch, I get
a nasty:
t/db_dependent/Record/Record.t .. 1/23 Aucun fichier ou dossier de ce type at
t/db_dependent/Record/Record.t line 46.
# Looks like you planned 23 tests but ran 1.
# Looks like your test exited with 2 just after 1.
t/db_dependent/Record/Record.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 22/23 subtests
Test Summary Report
-------------------
t/db_dependent/Record/Record.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 23 tests but ran 1.
Files=1, Tests=1, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.37 cusr 0.03
csys = 0.45 CPU)
Result: FAIL
What's wrong ?
I also had a problem applying the patch:
git bz apply 7661
Bug 7661 - Moving C4::tests to unit tests
7661 Moving C4::tests to unit tests
Apply? [yn] y
Applying: 7661 Moving C4::tests to unit tests
Can't open perl script "C4/tests/Record_test.pl": Aucun fichier ou dossier de
ce type
Are you sure you want to commit ?
You can commit with the --no-verify argument
Patch left in /tmp/7661-Moving-C4tests-to-unit-tests-EEw6sJ.patch
that was caused by the pre-apply hook I think, I had to force --no-verify
I'll push it, we will see if things are OK on jenkins, but I have some doubts.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list