Bug 8879 - Silence unneeded messages from running prove ./t (omnibus)
Summary: Silence unneeded messages from running prove ./t (omnibus)
Status: RESOLVED DUPLICATE of bug 25515
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on: 14110 14111 14112 14113 14114 14115 14116 14117 14118 14120 14121
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-05 07:44 UTC by Mason James
Modified: 2020-12-02 10:57 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mason James 2012-10-05 07:44:32 UTC
if you run the tests for Koha, it PASSES all tests.
but also generates a lot of unnecessary warning messages :/

this bug attempts to track, and silence these messages

below is an example of the 'noisy' tests...

koha.git$ prove ./t ./xt
t/00-checkdatabase-version.t ........ ok   
t/00-deprecated.t ................... ok   
t/00-load.t ......................... 11/? Too late to run INIT block at /home/mason/git/head/C4/Barcodes/hbyymmincr.pm line 41.
t/00-load.t ......................... 72/? Too late to run INIT block at /home/mason/git/head/C4/External/BakerTaylor.pm line 42.
t/00-load.t ......................... ok     
t/00-merge-conflict-markers.t ....... ok      
t/00-testcritic.t ................... skipped: Author test. Set $ENV{TEST_QA} to a true value to run
t/00-valid-xml.t .................... ok     
t/AuthoritiesMarc.t ................. ok   
t/AuthoritiesMarc_MARC21.t .......... ok   
t/AuthoritiesMarc_UNIMARC.t ......... ok   
t/Barcodes_EAN13.t .................. ok   
t/Barcodes_PrinterConfig.t .......... ok   
t/Barcodes_ValueBuilder.t ........... ok     
t/Barcodes_annual.t ................. ok   
t/Barcodes_hbyymmincr.t ............. ok   
t/Barcodes_incremental.t ............ ok   
t/Bookseller.t ...................... ok   
t/Boolean.t ......................... 1/13 The given value does not seem to be interpretable as a Boolean value at t/Boolean.t line 20.
The given value does not seem to be interpretable as a Boolean value at t/Boolean.t line 21.
The given value does not seem to be interpretable as a Boolean value at t/Boolean.t line 22.
t/Boolean.t ......................... ok     
t/Branch.t .......................... ok   
t/Breeding.t ........................ ok   
t/Budgets.t ......................... ok   
t/Cache.t ........................... 1/9 Use of uninitialized value in split at /home/mason/git/head/Koha/Cache/Memcached.pm line 31.
t/Cache.t ........................... ok   
t/Cache_Memcached.t ................. ok   
t/Calendar.t ........................ ok     
t/Category.t ........................ ok   
t/Charset.t ......................... ok   
t/Circulation_barcodedecode.t ....... ok     
t/ClassSortRoutine.t ................ ok   
t/ClassSortRoutine_Dewey.t .......... ok   
t/ClassSortRoutine_Generic.t ........ ok   
t/ClassSortRoutine_LCC.t ............ ok   
t/ClassSource.t ..................... ok   
t/Contract.t ........................ ok   
t/Creators.t ........................ ok     
t/DateUtils.t ....................... ok     
t/Dates.t ........................... 1/327 # 
# In order to run without DB access, this test will substitute 'us'
# as your default date format.  Export environmental variable KOHA_TEST_DATE_FORMAT
# to override this default, or pass the value as an argument to this test script.
# 
# NOTE: we test for the system handling dd=00 and 00 for TIME values, therefore
# you SHOULD see some warnings like:
# Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t ...
# 
# Testing Legacy Functions: format_date and format_date_in_iso
# 
Illegal date specified (year = 1952, month = 1, day = 0) at t/Dates.t line 61.
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 61.
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 64.
# 
# Testing 5 formats.
# Testing no input (defaults):
# 
# Testing with valid inputs:
Illegal date specified (year = 1952, month = 1, day = 0) at t/Dates.t line 83.
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83.
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83.
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83.
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83.
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83.
t/Dates.t ........................... 320/327 # 
# Testing object independence from class
# done.
t/Dates.t ........................... ok       
t/Debug.t ........................... # BEFORE use:     $debug is not defined
# BEFORE use: $cgi_debug is not defined
t/Debug.t ........................... 1/5 #  AFTER use:     $debug is 5
#  AFTER use: $cgi_debug is 2
# Done.
t/Debug.t ........................... ok   
t/External_Syndetics.t .............. ok   
t/Form_MessagingPreferences.t ....... ok   
t/Heading.t ......................... ok   
t/ILSDI_Services.t .................. ok   
t/ILSDI_Utility.t ................... ok   
t/Images.t .......................... ok   
t/ImportBatch.t ..................... ok   
t/Input.t ........................... ok   
t/Installer_PerlDependencies.t ...... ok   
t/Installer_PerlModules.t ........... ok     
t/Installer_pm.t .................... ok   
t/ItemCirculationAlertPreference.t .. ok   
t/ItemType.t ........................ ok     
t/Koha.t ............................ ok   
t/Labels.t .......................... 1/6 Use of uninitialized value $llx in concatenation (.) or string at /home/mason/git/head/C4/Labels/Label.pm line 68.
Use of uninitialized value $lly in concatenation (.) or string at /home/mason/git/head/C4/Labels/Label.pm line 68.
Use of uninitialized value $width in concatenation (.) or string at /home/mason/git/head/C4/Labels/Label.pm line 68.
Use of uninitialized value $height in concatenation (.) or string at /home/mason/git/head/C4/Labels/Label.pm line 68.
Use of uninitialized value $_ in string eq at /home/mason/git/head/C4/Labels/Label.pm line 103.
Use of uninitialized value $_ in pattern match (m//) at /home/mason/git/head/C4/Labels/Label.pm line 116.
Use of uninitialized value $_ in sprintf at /home/mason/git/head/C4/Labels/Label.pm line 126.
regexp failed to match string:  at /home/mason/git/head/C4/Labels/Label.pm line 126.
Use of uninitialized value in split at /home/mason/git/head/C4/Labels/Label.pm line 129.
t/Labels.t .......................... ok   
t/Labels_split_ccn.t ................ ok     
t/Labels_split_ddcn.t ............... ok     
t/Labels_split_lccn.t ............... ok     
t/Languages.t ....................... 1/4 accept_language(x,y) called with no clientPreferences (x). at t/Languages.t line 19.
t/Languages.t ....................... ok   
t/Letters.t ......................... ok   
t/Log.t ............................. ok   
t/Maintainance.t .................... ok   
t/Matcher.t ......................... ok     
t/Members_AttributeTypes.t .......... ok   
t/Members_Attributes.t .............. ok     
t/Members_Messaging.t ............... ok   
t/Message.t ......................... ok   
t/NewsChannels.t .................... ok   
t/Output.t .......................... ok   
t/Output_JSONStream.t ............... ok   
t/Overdues.t ........................ ok   
t/Patroncards.t ..................... ok   
t/Patroncards_Batch.t ............... ok   
t/Patroncards_Layout.t .............. ok   
t/Patroncards_Lib.t ................. ok   
t/Patroncards_Patroncard.t .......... ok   
t/Patroncards_Profile.t ............. ok   
t/Patroncards_Template.t ............ ok   
t/Print.t ........................... ok   
t/RecordProcessor.t ................. ok    
t/Review.t .......................... ok   
t/Ris.t ............................. ok   
t/RotatingCollections.t ............. ok   
t/SIP_Sip.t ......................... 1/8 verify_cksum: no sum detected at /home/mason/git.xen1/head/t/../C4/SIP/Sip/Checksum.pm line 24.
t/SIP_Sip.t ......................... ok   
t/SMS.t ............................. ok   
t/Scheduler.t ....................... 1/6 You do not have permission to use atq.
You do not have permission to use atq.
You do not have permission to use atq.
You do not have permission to use atq.
t/Scheduler.t ....................... ok   
t/Scrubber.t ........................ 1/19 # Note: scrubber test output will have whitespace collapsed for readability
# done.
t/Scrubber.t ........................ ok     
t/Search_PazPar2.t .................. 1/8 400 URL must be absolute at /home/mason/git/head/C4/Search/PazPar2.pm line 68.
400 URL must be absolute at /home/mason/git/head/C4/Search/PazPar2.pm line 84.
400 URL must be absolute at /home/mason/git/head/C4/Search/PazPar2.pm line 99.
400 URL must be absolute at /home/mason/git/head/C4/Search/PazPar2.pm line 121.
400 URL must be absolute at /home/mason/git/head/C4/Search/PazPar2.pm line 142.
400 URL must be absolute at /home/mason/git/head/C4/Search/PazPar2.pm line 159.
t/Search_PazPar2.t .................. ok   
t/SocialData.t ...................... ok   
t/Stats.t ........................... ok   
t/SuggestionEngine.t ................ ok    
t/SuggestionEngine_AuthorityFile.t .. ok   
t/SuggestionEngine_ExplodedTerms.t .. ok   
t/TmplToken.t ....................... ok     
t/Utils.t ........................... ok   
t/VirtualShelves_Merge.t ............ ok   
t/XSLT.t ............................ ok   
t/Z3950.t ........................... ok   
t/dummy.t ........................... ok   
xt/permissions.t .................... ok    
xt/tt_valid.t ....................... ok   
xt/yaml_valid.t ..................... ok     
All tests successful.
Files=98, Tests=5986, 72 wallclock secs ( 0.60 usr  0.33 sys + 23.86 cusr  3.08 csys = 27.87 CPU)
Result: PASS
Comment 1 Mark Tompsett 2012-10-12 14:01:18 UTC
I saw some of these and were annoyed by them. I was pondering if perhaps it would be okay to change INIT to CHECK, as there is only one INIT and no CHECK blocks, so LIFO vs. FIFO doesn't really matter, would be an adequate solution for the first two (http://perldoc.perl.org/perlmod.html#BEGIN,-UNITCHECK,-CHECK,-INIT-and-END).

I think I have something for the Labels. I'll post up my patch for the Labels later. Basically the patch is just initializing everything to 0 if they aren't defined. Seeing as this a test, I don't think a rectangle of 0,0,0,0 is going to be much of a problem. And if it is passed at runtime, a rectangle of 0,0,0,0 will likely not print something that should be or print it incorrectly, which will trigger someone finding the bad code that called it.
Comment 2 Mark Tompsett 2012-10-13 10:33:00 UTC
The tests just got noisier. I had to install
libdbd-mock-perl and libcache-memcache-fast-perl to get the tests to pass.

PERL_DL_NONLAZY=1 KOHA_CONF=blib/KOHA_CONF_DIR/koha-conf.xml /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/PERL_MODULE_DIR', 'blib/arch')" t/*.t
t/00-checkdatabase-version.t ........ ok
t/00-deprecated.t ................... ok
t/00-load.t ......................... 6/? Too late to run INIT block at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/hbyymmincr.pm line 41.
t/00-load.t ......................... 24/? Subroutine main::GetContract redefined at /usr/share/perl/5.14/Test/More.pm line 885
t/00-load.t ......................... 54/? Subroutine main::logaction redefined at /usr/share/perl/5.14/Test/More.pm line 885
Too late to run INIT block at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/External/BakerTaylor.pm line 42.
t/00-load.t ......................... 98/? "my" variable $DEBUG masks earlier declaration in same scope at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/ValueBuilder.pm line 43.
"my" variable $DEBUG masks earlier declaration in same scope at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/ValueBuilder.pm line 77.
DBD::mysql::db selectrow_array failed: Table 'kohadata.systempreferences' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 544.
t/00-load.t ......................... 135/? DBD::mysql::db selectrow_array failed: Table 'kohadata.systempreferences' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 544.
t/00-load.t ......................... ok
t/00-merge-conflict-markers.t ....... ok
t/00-testcritic.t ................... skipped: Author test. Set $ENV{TEST_QA} to a true value to run
t/00-valid-xml.t .................... ok
t/AuthoritiesMarc.t ................. 1/5 DBD::mysql::db selectrow_array failed: Table 'kohadata.systempreferences' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 544.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string ne at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1249.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string ne at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1249.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1249.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string ne at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1249.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string ne at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1249.
Use of uninitialized value $marcflavour in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1321.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1340.
Use of uninitialized value $marcflavour in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1321.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1340.
Use of uninitialized value $marcflavour in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1321.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1340.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string ne at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1249.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value in string ne at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1264.
Use of uninitialized value $marcflavour in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1321.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/AuthoritiesMarc.pm line 1340.
t/AuthoritiesMarc.t ................. ok
t/AuthoritiesMarc_MARC21.t .......... ok
t/AuthoritiesMarc_UNIMARC.t ......... ok
t/Barcodes_annual.t ................. ok
t/Barcodes_EAN13.t .................. ok
t/Barcodes_hbyymmincr.t ............. ok
t/Barcodes_incremental.t ............ ok
t/Barcodes_PrinterConfig.t .......... 2/6 Use of uninitialized value $labelHeigth in division (/) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 113.
Use of uninitialized value $marginBottom in addition (+) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 113.
Use of uninitialized value $labelHeigth in multiplication (*) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 115.
Use of uninitialized value $rows in numeric lt (<) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 117.
Use of uninitialized value $labelWidth in division (/) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 84.
Use of uninitialized value $marginLeft in addition (+) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 84.
Use of uninitialized value $labelWidth in multiplication (*) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 86.
Use of uninitialized value $columns in numeric lt (<) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 88.
Use of uninitialized value $labelHeigth in division (/) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 113.
Use of uninitialized value $marginBottom in addition (+) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 113.
Use of uninitialized value $labelHeigth in multiplication (*) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 115.
Use of uninitialized value $labelWidth in division (/) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 84.
Use of uninitialized value $marginLeft in addition (+) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 84.
Use of uninitialized value $labelWidth in multiplication (*) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 86.
Use of uninitialized value $rows in numeric le (<=) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm line 193.
t/Barcodes_PrinterConfig.t .......... ok
t/Barcodes_ValueBuilder.t ........... "my" variable $DEBUG masks earlier declaration in same scope at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/ValueBuilder.pm line 43.
"my" variable $DEBUG masks earlier declaration in same scope at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Barcodes/ValueBuilder.pm line 77.
t/Barcodes_ValueBuilder.t ........... ok
t/Bookseller.t ...................... ok
t/Boolean.t ......................... 1/13 The given value does not seem to be interpretable as a Boolean value at t/Boolean.t line 20
The given value does not seem to be interpretable as a Boolean value at t/Boolean.t line 21
The given value does not seem to be interpretable as a Boolean value at t/Boolean.t line 22
t/Boolean.t ......................... ok
t/Branch.t .......................... ok
t/Breeding.t ........................ ok
t/Budgets.t ......................... ok
t/Cache.t ........................... 1/9 Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/Koha/Cache/Memcached.pm line 31.
t/Cache.t ........................... ok
t/Cache_Memcached.t ................. ok
t/Calendar.t ........................ ok
t/Category.t ........................ ok
t/Charset.t ......................... 1/6 "\c3" is more clearly written simply as "s" at t/Charset.t line 14.
t/Charset.t ......................... ok
t/Circulation_barcodedecode.t ....... ok
t/ClassSortRoutine.t ................ ok
t/ClassSortRoutine_Dewey.t .......... ok
t/ClassSortRoutine_Generic.t ........ ok
t/ClassSortRoutine_LCC.t ............ ok
t/ClassSource.t ..................... ok
t/Contract.t ........................ ok
t/Creators.t ........................ ok
t/Dates.t ........................... 1/327 #
# In order to run without DB access, this test will substitute 'us'
# as your default date format.  Export environmental variable KOHA_TEST_DATE_FORMAT
# to override this default, or pass the value as an argument to this test script.
#
# NOTE: we test for the system handling dd=00 and 00 for TIME values, therefore
# you SHOULD see some warnings like:
# Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t ...
#
# Testing Legacy Functions: format_date and format_date_in_iso
#
Illegal date specified (year = 1952, month = 1, day = 0) at t/Dates.t line 61
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 61
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 64
#
# Testing 5 formats.
# Testing no input (defaults):
#
# Testing with valid inputs:
Illegal date specified (year = 1952, month = 1, day = 0) at t/Dates.t line 83
t/Dates.t ........................... 104/327 Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83
t/Dates.t ........................... 257/327 Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83
Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83
#
# Testing object independence from class
# done.
t/Dates.t ........................... ok
t/DateUtils.t ....................... 1/28 "my" variable $date_string masks earlier declaration in same scope at t/DateUtils.t line 29.
t/DateUtils.t ....................... ok
t/Debug.t ........................... # BEFORE use:     $debug is not defined
# BEFORE use: $cgi_debug is not defined
t/Debug.t ........................... 1/5 #  AFTER use:     $debug is 5
#  AFTER use: $cgi_debug is 2
# Done.
t/Debug.t ........................... ok
t/dummy.t ........................... ok
t/External_Syndetics.t .............. ok
t/Form_MessagingPreferences.t ....... ok
t/Heading.t ......................... ok
t/ILSDI_Services.t .................. ok
t/ILSDI_Utility.t ................... ok
t/Images.t .......................... ok
t/ImportBatch.t ..................... ok
t/Input.t ........................... ok
t/Installer_PerlDependencies.t ...... ok
t/Installer_PerlModules.t ........... ok
t/Installer_pm.t .................... ok
t/ItemCirculationAlertPreference.t .. ok
t/ItemType.t ........................ ok
t/Koha.t ............................ ok
t/Labels.t .......................... 1/6 Use of uninitialized value $llx in concatenation (.) or string at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Labels/Label.pm line 68.
Use of uninitialized value $lly in concatenation (.) or string at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Labels/Label.pm line 68.
Use of uninitialized value $width in concatenation (.) or string at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Labels/Label.pm line 68.
Use of uninitialized value $height in concatenation (.) or string at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Labels/Label.pm line 68.
Use of uninitialized value $_ in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Labels/Label.pm line 103.
Use of uninitialized value $_ in pattern match (m//) at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Labels/Label.pm line 116.
Use of uninitialized value $_ in sprintf at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Labels/Label.pm line 126.
regexp failed to match string:  at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Labels/Label.pm line 126.
Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Labels/Label.pm line 129.
t/Labels.t .......................... ok
t/Labels_split_ccn.t ................ ok
t/Labels_split_ddcn.t ............... ok
t/Labels_split_lccn.t ............... ok
t/Languages.t ....................... 1/4 Use of uninitialized value $interface in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 232.
Use of uninitialized value $htdocs in concatenation (.) or string at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 256.
Use of uninitialized value $theme in concatenation (.) or string at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 256.
accept_language(x,y) called with no clientPreferences (x). at t/Languages.t line 19
t/Languages.t ....................... ok
t/Letters.t ......................... ok
t/Log.t ............................. ok
t/Maintainance.t .................... ok
t/Matcher.t ......................... ok
t/Members_Attributes.t .............. ok
t/Members_AttributeTypes.t .......... ok
t/Members_Messaging.t ............... ok
t/Message.t ......................... ok
t/NewsChannels.t .................... ok
t/Output.t .......................... ok
t/Output_JSONStream.t ............... ok
t/Overdues.t ........................ ok
t/Patroncards.t ..................... ok
t/Patroncards_Batch.t ............... ok
t/Patroncards_Layout.t .............. ok
t/Patroncards_Lib.t ................. ok
t/Patroncards_Patroncard.t .......... ok
t/Patroncards_Profile.t ............. ok
t/Patroncards_Template.t ............ ok
t/Print.t ........................... ok
t/RecordProcessor.t ................. ok
t/Review.t .......................... ok
t/Ris.t ............................. 1/6 Use of uninitialized value $leader in substr at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Ris.pm line 342.
substr outside of string at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Ris.pm line 342.
Use of uninitialized value $C4::Ris::intype in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Ris.pm line 350.
Use of uninitialized value $C4::Ris::intype in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Ris.pm line 350.
Use of uninitialized value $C4::Ris::intype in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Ris.pm line 353.
Use of uninitialized value $typeofrecord in exists at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Ris.pm line 361.
Use of uninitialized value $C4::Ris::uniout in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Ris.pm line 966.
Use of uninitialized value $C4::Ris::uniout in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Ris.pm line 966.
t/Ris.t ............................. ok
t/RotatingCollections.t ............. ok
t/Scheduler.t ....................... 4/6 Use of uninitialized value $stdTime in pattern match (m//) at /usr/share/perl5/Schedule/At.pm line 194.
Use of uninitialized value $year in substitution (s///) at /usr/share/perl5/Schedule/At.pm line 201.
Use of uninitialized value $month in substitution (s///) at /usr/share/perl5/Schedule/At.pm line 202.
Use of uninitialized value $day in substitution (s///) at /usr/share/perl5/Schedule/At.pm line 203.
Use of uninitialized value $hour in substitution (s///) at /usr/share/perl5/Schedule/At.pm line 204.
Use of uninitialized value $mins in substitution (s///) at /usr/share/perl5/Schedule/At.pm line 205.
Use of uninitialized value $params{"COMMAND"} in print at /usr/share/perl5/Schedule/At.pm line 68.
t/Scheduler.t ....................... ok
t/Scrubber.t ........................ 1/19 # Note: scrubber test output will have whitespace collapsed for readability
# done.
t/Scrubber.t ........................ ok
t/Search_PazPar2.t .................. 1/8 400 URL must be absolute at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 68.
400 URL must be absolute at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 84.
400 URL must be absolute at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 99.
400 URL must be absolute at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 121.
400 URL must be absolute at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 142.
400 URL must be absolute at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Search/PazPar2.pm line 159.
t/Search_PazPar2.t .................. ok
t/SIP_Sip.t ......................... 1/8 verify_cksum: no sum detected at /home/mtompset/kohaclone/t/../C4/SIP/Sip/Checksum.pm line 24.
t/SIP_Sip.t ......................... ok
t/SMS.t ............................. ok
t/SocialData.t ...................... ok
t/Stats.t ........................... ok
t/SuggestionEngine.t ................ ok
t/SuggestionEngine_AuthorityFile.t .. ok
t/SuggestionEngine_ExplodedTerms.t .. 2/? DBD::mysql::db selectrow_array failed: Table 'kohadata.systempreferences' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 544.
DBD::mysql::db selectrow_array failed: Table 'kohadata.systempreferences' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 544.
Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 323.
DBD::mysql::db selectrow_array failed: Table 'kohadata.systempreferences' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 544.
Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 287.
Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 323.
Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 287.
DBD::mysql::st execute failed: Table 'kohadata.language_subtag_registry' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 186.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 187.
Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 127.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 339.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 340.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 345.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 346.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 339.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 340.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 345.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 346.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 339.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 340.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 345.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 346.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 339.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 340.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 345.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 346.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 339.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 340.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 345.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 346.
DBD::mysql::db selectrow_array failed: Table 'kohadata.systempreferences' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 544.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 103.
DBD::mysql::db selectrow_array failed: Table 'kohadata.systempreferences' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 544.
DBD::mysql::db selectrow_array failed: Table 'kohadata.systempreferences' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 544.
DBD::mysql::db selectrow_array failed: Table 'kohadata.systempreferences' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Context.pm line 544.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 103.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 103.
t/SuggestionEngine_ExplodedTerms.t .. 3/? Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 323.
Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 287.
Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 323.
Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 287.
DBD::mysql::st execute failed: Table 'kohadata.language_subtag_registry' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 186.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 187.
Use of uninitialized value in split at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 127.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 339.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 340.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 345.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 346.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 339.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 340.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 345.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 346.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 339.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 340.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 345.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 346.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 339.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 340.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 345.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 346.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 339.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 340.
DBD::mysql::st execute failed: Table 'kohadata.language_descriptions' doesn't exist at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 345.
DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Languages.pm line 346.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 103.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 103.
Use of uninitialized value in string eq at /home/mtompset/kohaclone/blib/PERL_MODULE_DIR/C4/Templates.pm line 103.
t/SuggestionEngine_ExplodedTerms.t .. ok
t/TmplToken.t ....................... ok
t/Utils.t ........................... ok
t/VirtualShelves_Merge.t ............ ok
t/XSLT.t ............................ ok
t/Z3950.t ........................... ok
All tests successful.
Files=95, Tests=8234, 396 wallclock secs ( 8.82 usr 12.24 sys + 164.43 cusr 131.27 csys = 316.76 CPU)
Result: PASS
Comment 3 Chris Cormack 2013-12-27 02:39:24 UTC
Mark, you need to do a make clean, or get rid of the blib dir at least. Then try running the tests again.

prove xt/ runs quietly for me. 

t/ is a bit louder but nowhere near as loud as it will be when you have BLIB lying around
Comment 4 Jonathan Druart 2015-04-01 13:36:50 UTC
% prove xt
xt/permissions.t ............ ok    
xt/sample_notices.t ......... ok    
xt/single_quotes.t .......... ok   
xt/tt_valid.t ............... ok   
xt/verify-debian-docbook.t .. ok    
xt/yaml_valid.t ............. ok     
All tests successful.
Files=6, Tests=116,  3 wallclock secs ( 0.06 usr  0.00 sys +  3.56 cusr  0.04 csys =  3.66 CPU)
Result: PASS
Comment 5 Jonathan Druart 2020-12-02 10:57:11 UTC

*** This bug has been marked as a duplicate of bug 25515 ***