There is a syntax error in the test cases. I don't really know how to fix it or I would.
This is (not surprisingly) breaking the package build for 3.10.0, so could someone who knows what's going on here please take a look ASAP. http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9142 $ 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. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Koha-devel mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
