[Dbix-class] DBIx-Class-0.08196 fails 2 tests ?

Danny Thomas d.thomas at its.uq.edu.au
Sat Jan 21 08:21:24 GMT 2012


perl 5.14.2 RHEL5
NB built OK on same system last Nov with then-current modules
I barely touched the module at that time as I was building a 
set of modules that I wanted to look at later.

I don't believe SQL::Translator was available at that time but
I don't have a log of the build/test.

But when I try now with current modules including SQL::Translator
6176.5:   chdir to <BUILD>/DBIx-Class-0.08196
6176.5:   <DISTRO-PERL> Makefile.PL  && make && make test && make install
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- DBD::SQLite              ...loaded. (1.35 >= 1.29)
- File::Temp               ...loaded. (0.22 >= 0.22)
- Package::Stash           ...loaded. (0.33 >= 0.28)
- Test::Builder            ...loaded. (0.98 >= 0.94)
- Test::Exception          ...loaded. (0.31 >= 0.31)
- Test::More               ...loaded. (0.98 >= 0.94)
- Test::Warn               ...loaded. (0.23 >= 0.21)
- Class::Accessor::Grouped ...loaded. (0.10006 >= 0.10002)
- Class::C3::Componentised ...loaded. (1.001000 >= 1.0009)
- Class::Inspector         ...loaded. (1.25 >= 1.24)
- Config::Any              ...loaded. (0.23 >= 0.20)
- Context::Preserve        ...loaded. (0.01 >= 0.01)
- DBI                      ...loaded. (1.616 >= 1.57)
- Data::Compare            ...loaded. (1.22 >= 1.22)
- Data::Dumper::Concise    ...loaded. (2.020 >= 2.020)
- Data::Page               ...loaded. (2.02 >= 2.00)
- File::Path               ...loaded. (2.08_01 >= 2.07)
- Hash::Merge              ...loaded. (0.12 >= 0.12)
- MRO::Compat              ...loaded. (0.11 >= 0.09)
- Module::Find             ...loaded. (0.10 >= 0.06)
- Path::Class              ...loaded. (0.24 >= 0.18)
- SQL::Abstract            ...loaded. (1.72 >= 1.72)
- Scope::Guard             ...loaded. (0.20 >= 0.03)
- Sub::Name                ...loaded. (0.05 >= 0.04)
- Try::Tiny                ...loaded. (0.11 >= 0.04)
- namespace::clean         ...loaded. (0.22 >= 0.20)

t/86sqlt.t ....................................... 1/? 
#   Failed test 'All create statements returned in 1 string in scalar ctx'
#   at t/86sqlt.t line 32.
#                   '-- 
# -- Created by SQL::Translator::Producer::SQLite
...
# CREATE VIEW 'year2000cds' AS
#     SELECT cdid, artist, title, year, genreid, single_track FROM cd WHERE year = "2000";
# 
# COMMIT;
# '
#     doesn't match '(?^:CREATE TABLE fourkeys_to_twokeys)'

#   Failed test 'Creation statement was found somewherere within array (84)'
#   at t/86sqlt.t line 48.
t/86sqlt.t ....................................... 12/? # Looks like you failed 2 tests of 144.
t/86sqlt.t ....................................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/144 subtests 


NB don't get this far on 5.15.7 because YAML fails its tests.




More information about the DBIx-Class mailing list