[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[perl #59210]



# New Ticket Created by  Andy Dougherty 
# Please include the string:  [perl #59210]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=59210 >


On perl-5.8.x @ 34398, compiled without dynamic loading 
(i.e. I ran Configure with -Uusedl) I get the following test failures:

1..40
ok 1 - use DynaLoader;
ok 2 - DynaLoader->can('bootstrap')
ok 3 - DynaLoader->can('dl_error')
not ok 4 - DynaLoader->can('dl_find_symbol')
not ok 5 - DynaLoader->can('dl_install_xsub')
not ok 6 - DynaLoader->can('dl_load_file')
ok 7 - DynaLoader->can('dl_load_flags')
not ok 8 - DynaLoader->can('dl_undef_symbols')
not ok 9 - DynaLoader->can('dl_unload_file')
not ok 10 - DynaLoader->can('dl_expandspec') # TODO Test::More::can_ok() seems to have trouble dealing with AutoLoaded functions

#   Failed (TODO) test 'DynaLoader->can('dl_expandspec')'
#   at ../ext/DynaLoader/t/DynaLoader.t line 58.
#     DynaLoader->can('dl_expandspec') failed
not ok 11 - DynaLoader->can('dl_findfile') # TODO Test::More::can_ok() seems to have trouble dealing with AutoLoaded functions

#   Failed (TODO) test 'DynaLoader->can('dl_findfile')'
#   at ../ext/DynaLoader/t/DynaLoader.t line 59.
#     DynaLoader->can('dl_findfile') failed
not ok 12 - DynaLoader->can('dl_find_symbol_anywhere') # TODO Test::More::can_ok() seems to have trouble dealing with AutoLoaded functions

#   Failed (TODO) test 'DynaLoader->can('dl_find_symbol_anywhere')'
#   at ../ext/DynaLoader/t/DynaLoader.t line 60.
#     DynaLoader->can('dl_find_symbol_anywhere') failed
ok 13 - calling DynaLoader::bootstrap() with no argument
not ok 14 - calling DynaLoader::bootstrap() with a package without binary object
not ok 15 - calling DynaLoader::dl_load_file() with no argument
not ok 16 - calling DynaLoader::dl_load_file() with undefined argument
ok 17 - calling DynaLoader::dl_load_file() without an existing library should fail
ok 18 - dl_error() returning an error message: 'Not implemented'
ok 19 - calling dl_findfile()
ok 20 - array should contain one result result or more: libc => (/usr/lib/libc.so)
ok 21 # skip Cwd not available
ok 22 # skip Cwd not available
ok 23 # skip Cwd not available
ok 24 # skip File::Glob not available
ok 25 # skip File::Glob not available
ok 26 # skip File::Glob not available
ok 27 # skip List::Util not available
ok 28 # skip List::Util not available
ok 29 # skip List::Util not available
ok 30 # skip SDBM_File not available
ok 31 # skip SDBM_File not available
ok 32 # skip SDBM_File not available
ok 33 # skip Socket not available
ok 34 # skip Socket not available
ok 35 # skip Socket not available
ok 36 # skip Time::HiRes not available
ok 37 # skip Time::HiRes not available
ok 38 # skip Time::HiRes not available
ok 39 - checking number of items in @dl_librefs
ok 40 - checking number of items in @dl_modules
dubious
	Test returned status 8 (wstat 2048, 0x800)
DIED. FAILED tests 4-6, 8-9, 14-16
	Failed 8/40 tests, 80.00% okay (less 18 skipped tests: 14 okay, 35.00%)
Failed Test                      Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
../ext/DynaLoader/t/DynaLoader.t    8  2048    40    8  4-6 8-9 14-16
18 subtests skipped.
Failed 1/1 test scripts. 8/40 subtests failed.
Files=1, Tests=40,  1 wallclock secs ( 0.04 cusr +  0.02 csys =  0.06 CPU)
Failed 1/1 test programs. 8/40 subtests failed.

I don't have time to check myself, but I suspect a number of these are 
due to the different error messages one gets with and without dynamic 
loading enabled.  Whether the tests should simply be skipped or whether 
the error messages should be corrected is a good question.

-- 
    Andy Dougherty		doughera@lafayette.edu


Follow-Ups from:
"H.Merijn Brand" <h.m.brand@xs4all.nl>
Nicholas Clark <nick@ccl4.org>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]