[Dbix-class] Call for testers

Will Hawes wdhawes at gmail.com
Mon Feb 9 11:56:42 GMT 2009


2009/2/9 Peter Rabbitson <rabbit+dbic at rabbit.us>:

> Both of these `prove` invocations are wrong, as they run the test against
> the currently installed 0.08010 (I can tell by the presence of the
> startup check warning). You either need to supply -Ilib to prove,
> or use the -b option _after_ running `perl Makefile.PL; make;`
>
> Please retest the usual way:
>
> perl Makefile.PL
> make
> make test

Sorry, doing too many things at once as usual :/

D:\Setup\DBIX-C~1.080>nmake test

Microsoft (R) Program Maintenance Utility   Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

        C:\Perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp script/dbicadmin
blib\script\dbicadmin
        pl2bat.bat blib\script\dbicadmin
        C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'in
c', 'blib\lib', 'blib\arch')" t/*.t t/*/*.t
t/02pod....................................ok
t/03podcoverage............................skipped
        all skipped: Test::Pod::Coverage 1.04 required
t/04dont_break_c3..........................ok
t/05components.............................ok
t/100populate..............................ok
t/101populate_rs...........................ok
t/18inserterror............................ok
t/19quotes.................................ok 1/6# Testing against SQLite 3.4.2
t/19quotes.................................ok
t/19quotes_newstyle........................ok 1/6# Testing against SQLite 3.4.2
t/19quotes_newstyle........................ok
t/20setuperrors............................ok
t/26dumper.................................skipped
        all skipped: Set $ENV{DATA_DUMPER_TEST} to run this test
t/30dbicplain..............................ok
t/31stats..................................ok
t/32connect_code_ref.......................DBI::db=HASH(0x24fdff4)->disconnect i
nvalidates 22 active statement handles (either destroy statement handles or call
 finish on them before disconnecting) at D:\Setup\DBIX-C~1.080\blib\lib/DBIx/Cla
ss/Storage/DBI.pm line 692.
closing dbh with active statement handles at D:\Setup\DBIX-C~1.080\blib\lib/DBIx
/Class/Storage/DBI.pm line 692.
t/32connect_code_ref.......................ok
t/33storage_reconnect......................DBI::db=HASH(0x2526060)->disconnect i
nvalidates 22 active statement handles (either destroy statement handles or call
 finish on them before disconnecting) at t/33storage_reconnect.t line 23.
t/33storage_reconnect......................ok 1/5closing dbh with active stateme
nt handles at t/33storage_reconnect.t line 23.
t/33storage_reconnect......................ok
        2/5 skipped: various reasons
t/34exception_action.......................ok
t/35disable_sth_caching....................ok
t/36datetime...............................ok
t/39load_namespaces_1......................ok
t/39load_namespaces_2......................ok
t/39load_namespaces_3......................ok
t/39load_namespaces_4......................ok
t/40resultsetmanager.......................ok
t/41orrible................................ok
t/42toplimit...............................ok
t/46where_attribute........................ok
t/47bind_attribute.........................ok 1/7Use of uninitialized value in s
ubroutine entry at D:\Setup\DBIX-C~1.080\blib\lib/DBIx/Class/Storage/DBI.pm line
 1009.
t/47bind_attribute.........................ok
t/50fork...................................skipped
        all skipped: Set $ENV{DBICTEST_FORK_STRESS} to run this test
t/51threads................................skipped
        all skipped: Set $ENV{DBICTEST_THREAD_STRESS} to run this test
t/52cycle..................................skipped
        all skipped: leak test needs Test::Memory::Cycle
t/53delete_related.........................ok
t/54taint..................................ok
t/55storage_stress.........................skipped
        all skipped: Set $ENV{DBICTEST_STORAGE_STRESS} to run this test (it is v
ery resource intensive!)
t/60core...................................ok 1/78# DBICTest::Event
t/60core...................................ok
t/61findnot................................ok
t/63register_class.........................ok
t/64db.....................................ok
t/65multipk................................ok
t/66relationship...........................ok
        1/62 skipped: various reasons
t/67pager..................................ok
t/68inflate................................ok
t/68inflate_has_a..........................ok
t/68inflate_resultclass_hashrefinflator....ok
t/68inflate_serialize......................ok
t/69update.................................ok
t/70auto...................................ok
t/71mysql..................................skipped
        all skipped: Set $ENV{DBICTEST_MYSQL_DSN}, _USER and _PASS to run this t
est
t/72pg.....................................skipped
        all skipped: Set $ENV{DBICTEST_PG_DSN}, _USER and _PASS to run this test
 (note: creates and drops tables named artist and casecheck!)
t/73oracle.................................skipped
        all skipped: Set $ENV{DBICTEST_ORA_DSN}, _USER and _PASS to run this tes
t. Warning: This test drops and creates tables called 'artist', 'cd' and 'track'

t/73oracle_inflate.........................skipped
        all skipped: needs DateTime and DateTime::Format::Oracle for testing
t/745db2...................................skipped
        all skipped: Set $ENV{DBICTEST_DB2_DSN}, _USER and _PASS to run this tes
t
t/746db2_400...............................skipped
        all skipped: Set $ENV{DBICTEST_DB2_400_DSN}, _USER and _PASS to run this
 test
t/746mssql.................................skipped
        all skipped: Set $ENV{DBICTEST_MSSQL_ODBC_DSN}, _USER and _PASS to run t
his test
t/74mssql..................................skipped
        all skipped: Set $ENV{DBICTEST_MSSQL_DSN}, _USER and _PASS to run this t
est
t/75limit..................................ok
t/76joins..................................ok
t/77join_count.............................ok
t/78self_referencial.......................ok
t/79aliasing...............................ok
t/80unique.................................ok
t/81transactions...........................ok 1/63Issuing rollback() for databas
e handle being DESTROY'd without explicit disconnect() at t/81transactions.t lin
e 232.
DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::SQLite::db do failed:
 table employee already exists(1) at dbdimp.c line 271 [for Statement "
--
-- Table: employee
--
CREATE TABLE employee (
  employee_id INTEGER PRIMARY KEY NOT NULL,
  position integer NOT NULL,
  group_id integer,
  group_id_2 integer,
  name varchar(100)
)"] at t/lib/DBICTest.pm line 109
# Looks like you planned 63 tests but ran 54.
# Looks like your test exited with 255 just after 54.
t/81transactions...........................dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 55-63
        Failed 9/63 tests, 85.71% okay
t/82cascade_copy...........................ok
t/83cache..................................ok
t/84serialize..............................ok
t/85utf8...................................ok
t/86might_have.............................ok
t/86sqlt...................................ok
t/87ordered................................ok
t/88result_set_column......................ok
t/89dbicadmin..............................skipped
        all skipped: Install Text::CSV_XS or Text::CSV_PP to run this test
t/89inflate_datetime.......................ok
t/90ensure_class_loaded....................ok
t/90join_torture...........................ok
t/91debug..................................ok
t/91merge_attr.............................ok
t/92storage................................ok
t/92storage_on_connect_do..................ok
t/93nobindvars.............................skipped
        all skipped: Set $ENV{DBICTEST_MYSQL_DSN}, _USER and _PASS to run this t
est
t/93single_accessor_object.................ok
t/94pk_mutation............................ok
t/94versioning.............................skipped
        all skipped: needs DBD::SQLite and SQL::Translator 0.09003 for testing
t/95sql_maker_quote........................ok
        1/8 unexpectedly succeeded
TODO PASSED test 3

t/96file_column............................ok
t/96multi_create...........................ok
t/97result_class...........................ok
t/99rh_perl_perf_bug.......................ok
        1/3 skipped: various reasons
t/bindtype_columns.........................skipped
        all skipped: Set $ENV{DBICTEST_PG_DSN}, _USER and _PASS to run this test

t/cdbi-sweet-t/08pager.....................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/01-columns........................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/02-Film...........................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/03-subclassing....................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/04-lazy...........................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/06-hasa...........................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/09-has_many.......................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/11-triggers.......................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/12-filter.........................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/13-constraint.....................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/14-might_have.....................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/15-accessor.......................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/16-reserved.......................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/18-has_a..........................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/19-set_sql........................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/21-iterator.......................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/22-self_referential...............skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/30-pager..........................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/cdbi-t/98-failure........................skipped
        all skipped: Class::Trigger and DBIx::ContextualFetch required
t/resultset_class..........................ok
Failed Test        Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/81transactions.t  255 65280    63   18  55-63
 (1 subtest UNEXPECTEDLY SUCCEEDED), 37 tests and 4 subtests skipped.
Failed 1/107 test scripts. 9/2071 subtests failed.
Files=107, Tests=2071, 76 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00 CPU)
Failed 1/107 test programs. 9/2071 subtests failed.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
Stop.



More information about the DBIx-Class mailing list