[Bug 9142] New: Failing test case in 3.10.0 release.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Bug ID: 9142 Summary: Failing test case in 3.10.0 release. Classification: Unclassified Change sponsored?: --- Product: Koha Version: 3.10 Hardware: All OS: All Status: NEW Severity: blocker Priority: P5 - low Component: Test Suite Assignee: gmcharlt@gmail.com Reporter: robin@catalyst.net.nz robin@koha:/mnt/catalyst/koha$ KOHA_CONF=~/koha-dev/etc/koha-conf.xml t/Calendar.t 1..22 ok 1 - use Koha::Calendar; ok 2 - use C4::Calendar; String found where operator expected at t/Calendar.t line 130, near "subtest '\'Datedue\' tests'" (Do you need to predeclare subtest?) "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 131. "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 134. "my" variable $dt masks earlier declaration in same scope at t/Calendar.t line 135. "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 137. "my" variable $dt masks earlier declaration in same scope at t/Calendar.t line 137. "my" variable $one_day_dur masks earlier declaration in same scope at t/Calendar.t line 137. "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 141. "my" variable $dt masks earlier declaration in same scope at t/Calendar.t line 141. "my" variable $two_day_dur masks earlier declaration in same scope at t/Calendar.t line 141. "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 145. "my" variable $test_dt masks earlier declaration in same scope at t/Calendar.t line 145. "my" variable $seven_day_dur masks earlier declaration in same scope at t/Calendar.t line 145. String found where operator expected at t/Calendar.t line 151, near "subtest '\'Calendar\' tests'" (Do you need to predeclare subtest?) "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 152. "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 155. "my" variable $dt masks earlier declaration in same scope at t/Calendar.t line 156. "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 158. "my" variable $dt masks earlier declaration in same scope at t/Calendar.t line 158. "my" variable $one_day_dur masks earlier declaration in same scope at t/Calendar.t line 158. "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 162. "my" variable $test_dt masks earlier declaration in same scope at t/Calendar.t line 162. "my" variable $seven_day_dur masks earlier declaration in same scope at t/Calendar.t line 162. String found where operator expected at t/Calendar.t line 168, near "subtest '\'Days\' tests'" (Do you need to predeclare subtest?) "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 169. "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 172. "my" variable $dt masks earlier declaration in same scope at t/Calendar.t line 173. "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 175. "my" variable $dt masks earlier declaration in same scope at t/Calendar.t line 175. "my" variable $one_day_dur masks earlier declaration in same scope at t/Calendar.t line 175. "my" variable $cal masks earlier declaration in same scope at t/Calendar.t line 179. "my" variable $test_dt masks earlier declaration in same scope at t/Calendar.t line 179. "my" variable $seven_day_dur masks earlier declaration in same scope at t/Calendar.t line 179. syntax error at t/Calendar.t line 130, near "subtest '\'Datedue\' tests'" syntax error at t/Calendar.t line 148, near "}" syntax error at t/Calendar.t line 165, near "}" syntax error at t/Calendar.t line 182, near "}" Execution of t/Calendar.t aborted due to compilation errors. # Looks like you planned 22 tests but ran 2. # Looks like your test exited with 255 just after 2. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 --- Comment #1 from Robin Sheat <robin@catalyst.net.nz> --- This is coming from commit 5d92ab39a681e370635324f1fdb9e69b187e7842, btw. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - low |P1 - high -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 --- Comment #2 from Robin Sheat <robin@catalyst.net.nz> --- This is because the test case in bug 8800 was written with a higher version of Test::More than ships in Debian stable, and so that test doesn't work. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 --- Comment #3 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 13679 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13679&action=edit Bug 9142 - Remove the use of subtests Debian stable's version of Test::More is older than the one I used on my 12.04 dev box, and doesn't support subtests, which I used to avoid side effects between different test scenarios. This patch removes that subtest definition. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff CC| |tomascohen@gmail.com Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz --- Comment #4 from Chris Cormack <chris@bigballofwax.co.nz> --- Thanks very much Tomás, this means we can put the test back in for packaging :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 --- Comment #5 from Robin Sheat <robin@catalyst.net.nz> --- Created attachment 13692 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13692&action=edit Bug 9142 - Remove the use of subtests Debian stable's version of Test::More is older than the one I used on my 12.04 dev box, and doesn't support subtests, which I used to avoid side effects between different test scenarios. This patch removes that subtest definition. Signed-off-by: Robin Sheat <robin@catalyst.net.nz> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #6 from Robin Sheat <robin@catalyst.net.nz> --- Thanks. I've also built master packages with this, uploading them now. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13679|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13692|0 |1 is obsolete| | --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 13717 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13717&action=edit [SIGNED-OFF] Bug 9142 - Remove the use of subtests Debian stable's version of Test::More is older than the one I used on my 12.04 dev box, and doesn't support subtests, which I used to avoid side effects between different test scenarios. This patch removes that subtest definition. Signed-off-by: Robin Sheat <robin@catalyst.net.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> All tests pass. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de QA Contact| |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |jcamins@cpbibliography.com --- Comment #8 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- This patch has been pushed to master. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable --- Comment #9 from Chris Cormack <chris@bigballofwax.co.nz> --- Pushed to 3.10.x will be in 3.10.1 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 --- Comment #10 from Chris Cormack <chris@bigballofwax.co.nz> --- Pushed to 3.8.x, will be in 3.8.8 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org