[Bug 441830] Review Request: perl-DBD-ODBC - ODBC Driver for DBI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: perl-DBD-ODBC - ODBC Driver for DBI
Alias: perl-DBD-ODBC

https://bugzilla.redhat.com/show_bug.cgi?id=441830


cweyl@xxxxxxxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|nobody@xxxxxxxxxxxxxxxxx    |cweyl@xxxxxxxxxxxxxxx




------- Additional Comments From cweyl@xxxxxxxxxxxxxxx  2008-04-20 12:01 EST -------
Hm.  If you set up dummy odbcinst.ini and odbc.ini's along the lines the sqlite
homepage suggests, you can cause the tests to use it by running them along the
lines of:

 ODBCSYSINI=. ODBCINI=odbc.ini DBI_DSN=dbi:ODBC:mysqlitedb make test

where odbcinst.ini is:
[SQLite]
Description=SQLite ODBC Driver
Driver=/usr/lib64/libsqlite3odbc-0.77.so
Setup=/usr/lib64/libsqlite3odbc-0.77.so
Threading=2

And odbc.ini is:
[mysqlitedb]
Description=My SQLite test database
Driver=SQLite
Database=/tmp/mytest-foo.db
# optional lock timeout in milliseconds
Timeout=2000

Unfortunately, most of the tests fail:
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/02simple.t   255 65280    62   98 158.06%  14-62
t/03dbatt.t      7  1792    24    7  29.17%  5 7 15-18 23
t/05meth.t     255 65280    13   17 130.77%  3 6-13
t/07bind.t     255 65280    11   20 181.82%  2-11
t/08bind2.t      3   768     5    3  60.00%  3-5
t/10handler.t    1   256    10    1  10.00%  10
156 subtests skipped.
Failed 6/12 test scripts, 50.00% okay. 79/295 subtests failed, 73.22% okay.

Fixing the first failed test in 02simple.t cuts the number of failed tests
significantly:

Failed Test   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/02simple.t     7  1792    62    7  11.29%  34 36-39 43 53
t/03dbatt.t      1   256    24    1   4.17%  16
t/10handler.t    1   256    10    1  10.00%  10
156 subtests skipped.
Failed 3/12 test scripts, 75.00% okay. 9/295 subtests failed, 96.95% okay.

Looking at the test suite, it looks like the test suite can't handle sqlite for
some reason.  It might be a good idea to file a bug upstream asking about the
test suite and using an sqlite backend...

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]