[Bug 12689] New: Search.t fails to run on Squeeze
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12689 Bug ID: 12689 Summary: Search.t fails to run on Squeeze Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: blocker Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: robin@catalyst.net.nz QA Contact: gmcharlt@gmail.com # t/Search.t 1..3 unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 373. ok 1 - use C4::Search; ok 2 - C4::Search->can('_build_initial_query') String found where operator expected at t/Search.t line 28, near "subtest "_build_initial_query tests"" (Do you need to predeclare subtest?) syntax error at t/Search.t line 28, near "subtest "_build_initial_query tests"" syntax error at t/Search.t line 158, near "}" Execution of t/Search.t aborted due to compilation errors. # Looks like you planned 3 tests but ran 2. # Looks like your test exited with 255 just after 2. # perl -MTest::More -e 'print $Test::More::VERSION . "\n"' 0.92 This construct works on higher versions of Test::More, but we don't have that luxury in squeeze. t/db_dependent/Items.t fails in a similar way: ok 1 - use C4::Items; String found where operator expected at t/db_dependent/Items.t line 34, near "subtest 'General Add, Get and Del tests'" (Do you need to predeclare subtest?) String found where operator expected at t/db_dependent/Items.t line 68, near "subtest 'GetHiddenItemnumbers tests'" (Do you need to predeclare subtest?) String found where operator expected at t/db_dependent/Items.t line 146, near "subtest 'GetItemsInfo tests'" (Do you need to predeclare subtest?) "my" variable $biblionumber masks earlier declaration in same scope at t/db_dependent/Items.t line 158. "my" variable $item_bibnum masks earlier declaration in same scope at t/db_dependent/Items.t line 160. "my" variable $item_bibitemnum masks earlier declaration in same scope at t/db_dependent/Items.t line 160. "my" variable $itemnumber masks earlier declaration in same scope at t/db_dependent/Items.t line 160. syntax error at t/db_dependent/Items.t line 34, near "subtest 'General Add, Get and Del tests'" syntax error at t/db_dependent/Items.t line 66, near "}" syntax error at t/db_dependent/Items.t line 144, near "}" syntax error at t/db_dependent/Items.t line 182, near "}" syntax error at t/db_dependent/Items.t line 218, near "}" Execution of t/db_dependent/Items.t aborted due to compilation errors. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12689 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - low |P3 Depends on| |12443 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12689 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|chris@bigballofwax.co.nz |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12689 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Robin Sheat <robin@catalyst.net.nz> --- Added a newer version of Test::Simple to the repo which fixes this. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org