Subject: | Tests fail in newer perls |
Running make for J/JS/JSWARTZ/Cache-Cache-1.06.tar.gz
cp lib/Cache/SizeAwareMemoryCache.pm blib/lib/Cache/SizeAwareMemoryCache.pm
cp lib/Cache/SizeAwareFileCache.pm blib/lib/Cache/SizeAwareFileCache.pm
cp lib/Cache/BaseCache.pm blib/lib/Cache/BaseCache.pm
cp lib/Cache/SharedMemoryBackend.pm blib/lib/Cache/SharedMemoryBackend.pm
cp lib/Cache/BaseCacheTester.pm blib/lib/Cache/BaseCacheTester.pm
cp lib/Cache/FileCache.pm blib/lib/Cache/FileCache.pm
cp lib/Cache/SharedMemoryCache.pm blib/lib/Cache/SharedMemoryCache.pm
cp lib/Cache/SizeAwareCache.pm blib/lib/Cache/SizeAwareCache.pm
cp lib/Cache/Cache.pm blib/lib/Cache/Cache.pm
cp lib/Cache/CacheTester.pm blib/lib/Cache/CacheTester.pm
cp lib/Cache/Object.pm blib/lib/Cache/Object.pm
cp lib/Cache/CacheSizer.pm blib/lib/Cache/CacheSizer.pm
cp lib/Cache/SizeAwareSharedMemoryCache.pm blib/lib/Cache/SizeAwareSharedMemoryCache.pm
cp lib/Cache/MemoryBackend.pm blib/lib/Cache/MemoryBackend.pm
cp lib/Cache/SizeAwareCacheTester.pm blib/lib/Cache/SizeAwareCacheTester.pm
cp lib/Cache/MemoryCache.pm blib/lib/Cache/MemoryCache.pm
cp lib/Cache/CacheUtils.pm blib/lib/Cache/CacheUtils.pm
cp lib/Cache/NullCache.pm blib/lib/Cache/NullCache.pm
cp lib/Cache/FileBackend.pm blib/lib/Cache/FileBackend.pm
cp lib/Cache/CacheMetaData.pm blib/lib/Cache/CacheMetaData.pm
JSWARTZ/Cache-Cache-1.06.tar.gz
/data/data/com.pdaxrom.cctools/root/cctools/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /data/data/home/bin/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/1_test_cache_interface.t t/2_test_memory_cache.t t/3_test_file_cache.t t/5_test_size_aware_file_cache.t t/6_test_size_aware_memory_cache.t
t/1_test_cache_interface.t .......... ok
t/2_test_memory_cache.t ............. Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /data/data/home/.cpan/build/Cache-Cache-1.06-kjYxNl/blib/lib/Cache/CacheTester.pm line 562.
Compilation failed in require at t/2_test_memory_cache.t line 18.
BEGIN failed--compilation aborted at t/2_test_memory_cache.t line 18.
t/2_test_memory_cache.t ............. Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 35/35 subtests
t/3_test_file_cache.t ............... Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /data/data/home/.cpan/build/Cache-Cache-1.06-kjYxNl/blib/lib/Cache/CacheTester.pm line 562.
Compilation failed in require at t/3_test_file_cache.t line 18.
BEGIN failed--compilation aborted at t/3_test_file_cache.t line 18.
t/3_test_file_cache.t ............... Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 35/35 subtests
t/5_test_size_aware_file_cache.t .... Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /data/data/home/.cpan/build/Cache-Cache-1.06-kjYxNl/blib/lib/Cache/CacheTester.pm line 562.
Compilation failed in require at t/5_test_size_aware_file_cache.t line 18.
BEGIN failed--compilation aborted at t/5_test_size_aware_file_cache.t line 18.
t/5_test_size_aware_file_cache.t .... Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 48/48 subtests
t/6_test_size_aware_memory_cache.t .. 1/48 Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /data/data/home/.cpan/build/Cache-Cache-1.06-kjYxNl/blib/lib/Cache/CacheTester.pm line 562.
Compilation failed in require at t/6_test_size_aware_memory_cache.t line 18.
BEGIN failed--compilation aborted at t/6_test_size_aware_memory_cache.t line 18.
t/6_test_size_aware_memory_cache.t .. Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 48/48 subtests
Test Summary Report
-------------------
t/2_test_memory_cache.t (Wstat: 5632 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 22
Parse errors: Bad plan. You planned 35 tests but ran 1.
t/3_test_file_cache.t (Wstat: 5632 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 22
Parse errors: Bad plan. You planned 35 tests but ran 1.
t/5_test_size_aware_file_cache.t (Wstat: 5632 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 22
Parse errors: Bad plan. You planned 48 tests but ran 1.
t/6_test_size_aware_memory_cache.t (Wstat: 5632 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 22
Parse errors: Bad plan. You planned 48 tests but ran 1.
Files=5, Tests=5, 1 wallclock secs ( 0.27 usr 0.02 sys + 0.68 cusr 0.07 csys = 1.04 CPU)
Result: FAIL
Failed 4/5 test programs. 4/5 subtests failed.
Makefile:891: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 22
JSWARTZ/Cache-Cache-1.06.tar.gz
/data/data/com.pdaxrom.cctools/root/cctools/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JSWARTZ/Cache-Cache-1.06.tar.gz